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
Issue by njx Wednesday Oct 03, 2012 at 15:23 GMT Originally opened as adobe/brackets#1753
HTMLUtils had a number of private functions that navigate through the CodeMirror code coloring tokens in the current editor. These are completely generic (not specific to HTML), and would be useful for extensions that need to do light parsing based on the tokenization. This pull request factors those functions out into a separate TokenUtils class.
Comment by peterflynn Wednesday Oct 03, 2012 at 15:57 GMT
Cool. Eventually I think we should have a TokenIterator sort of class that packages this up even more cleanly (and probably hides _codeMirror a bit better too), and this seems like a solid step in that direction.
Issue by njx
Wednesday Oct 03, 2012 at 15:23 GMT
Originally opened as adobe/brackets#1753
HTMLUtils had a number of private functions that navigate through the CodeMirror code coloring tokens in the current editor. These are completely generic (not specific to HTML), and would be useful for extensions that need to do light parsing based on the tokenization. This pull request factors those functions out into a separate TokenUtils class.
njx included the following code: https://github.com/adobe/brackets/pull/1753/commits
The text was updated successfully, but these errors were encountered: