[Webkit-unassigned] [Bug 123468] Web Inspector: font-family names interpreted as color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 29 15:22:03 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=123468





--- Comment #4 from Joseph Pecoraro <joepeck at webkit.org>  2013-10-29 15:20:49 PST ---
Now that I think about it, we have CodeMirror's tokenizer right now, but we are still regex checking lines:

    var lineContent = this._codeMirror.getLine(i);
    var match = colorRegex.exec(lineContent);
    …

I think we be could just iterate over tokens instead of running the regex on the line?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list