adobe/brackets — pull request #1753 by njx (2012-10-03 15:23:09+00:00)
Title: Factor out generic token-navigation routines from HTMLUtils

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.