You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following situation. I added a new rule to highlight some simple keywords. When I was writing them down one by one, Ace was coloring the words correctly, as seen in the screenshot bellow...
And once I had everything, all was nice and blue. But once I saved my work, and restarted Ace, no highlights to be seen.
If I delete the regex and start adding regexp rule one by one again, Ace will start coloring the words again. Is this normal behaviour?
The text was updated successfully, but these errors were encountered:
Are there any errors in browser console? Does highlighting start to work if you add a space at the end of the file (or do ctrl-a ctrl-c ctrl-v) instead of deleting the regexp.
While writing you a reply I did find the problem, somehow I ended up having the same regexp rule twice. I think the live editor for development is a blessing and a cure at the same time. I think I ended up not hitting save again.
I think it be nice in the future to add the following to the editor
Have a banner showing the the changes can't be saved locally, and what to do to enable that.
Pop a message if the changes are not saved and you try to close the window.
I have the following situation. I added a new rule to highlight some simple keywords. When I was writing them down one by one, Ace was coloring the words correctly, as seen in the screenshot bellow...
And once I had everything, all was nice and blue. But once I saved my work, and restarted Ace, no highlights to be seen.
If I delete the regex and start adding regexp rule one by one again, Ace will start coloring the words again. Is this normal behaviour?
The text was updated successfully, but these errors were encountered: