• commit-queue@webkit.org's avatar
    Web Inspector: Add isClean/markClean method pair to textEditor.js · 0dcf07b4
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=112815
    
    Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-27
    Reviewed by Vsevolod Vlasov.
    
    No new tests: no change in behaviour.
    
    - Add TextEditor.isClean and TextEditor.markClean methods
    - Implement these methods in DefaultTextEditor
    - Implement these methods in CodeMirrorTextEditor
    
    * inspector/front-end/CodeMirrorTextEditor.js:
    (WebInspector.CodeMirrorTextEditor.prototype.isClean):
    (WebInspector.CodeMirrorTextEditor.prototype.markClean):
    * inspector/front-end/DefaultTextEditor.js:
    (WebInspector.DefaultTextEditor.prototype.isClean):
    (WebInspector.DefaultTextEditor.prototype.markClean):
    * inspector/front-end/TextEditor.js:
    (WebInspector.TextEditor.prototype.isClean):
    (WebInspector.TextEditor.prototype.markClean):
    * inspector/front-end/TextEditorModel.js:
    (WebInspector.TextEditorModel.endsWithBracketRegex.):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0dcf07b4
ChangeLog 8.04 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.