Pretty much copied from SourceFrame + added corresponding TextEditor support.
Created attachment 47037 [details] [PATCH] Proposed change.
Comment on attachment 47037 [details] [PATCH] Proposed change. What does the "pack" in packAndRepaintAll mean?
(In reply to comment #2) > (From update of attachment 47037 [details]) > What does the "pack" in packAndRepaintAll mean? Div decorations are managed by the text editor clients. Sometimes decoration affects line height and we need to invalidate line offsets. That's what pack is for. I think I'll come up with the better name in a follow up change. Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/WebCore.gypi M WebCore/WebCore.vcproj/WebCore.vcproj M WebCore/inspector/front-end/SourceFrame2.js M WebCore/inspector/front-end/TextEditor.js M WebCore/inspector/front-end/TextEditorHighlighter.js M WebCore/inspector/front-end/WebKit.qrc M WebCore/inspector/front-end/inspector.css M WebCore/inspector/front-end/inspector.html A WebCore/inspector/front-end/textEditor.css Committed r53795