Added JavaScript syntax highlighting to the Web Inspector.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jun 2008 17:01:29 +0000 (17:01 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jun 2008 17:01:29 +0000 (17:01 +0000)
commitbcee1477aea86a765b1e8917fe2de67843f42f1b
treeb903708194f8406cf5b78ebe5e2a379c5a1e9a8c
parente1335721eb9019220ddf9c80bcf85651d907ecf2
    Added JavaScript syntax highlighting to the Web Inspector.

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

        Reviewed by Tim Hatcher and Adam Roben.

        * page/inspector/ScriptView.js: Added a call to syntaxHighlightJavascript.
        * page/inspector/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._syntaxHighlightJavascriptLine): Added.
        Modifies a line content element.
        (WebInspector.SourceFrame.prototype.syntaxHighlightJavascript): Added.
        Syntax highlights the entire script.
        * page/inspector/SourceView.js: Added a call to syntaxHighlightJavascript.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/inspector/ScriptView.js
WebCore/page/inspector/SourceFrame.js
WebCore/page/inspector/SourceView.js