2009-11-10 Keishi Hattori <casey.hattori@gmail.com>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Nov 2009 21:04:04 +0000 (21:04 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Nov 2009 21:04:04 +0000 (21:04 +0000)
commitb6a240a093c732c417a27b881885e5f1c2c1d181
tree9250926c349641398b96abe25d34af15d13d4826
parentd105c87e89809443ab51c567d4f50830ae20a33d
2009-11-10  Keishi Hattori  <casey.hattori@gmail.com>

        Reviewed by Timothy Hatcher.

        Web Inspector: Speed up syntax highlighter
        https://bugs.webkit.org/show_bug.cgi?id=31291

        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._loaded):
        (WebInspector.SourceSyntaxHighlighter.prototype.process.moveToNextLine): Replace the line content node.
        (WebInspector.SourceSyntaxHighlighter.prototype.process):
        (WebInspector.SourceSyntaxHighlighter.prototype.appendNonToken):
        (WebInspector.SourceSyntaxHighlighter.prototype.syntaxHighlightNode):
        (WebInspector.CSSSourceSyntaxHighlighter):
        (WebInspector.JavaScriptSourceSyntaxHighlighter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/inspector/front-end/SourceFrame.js