WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
109289
Web Inspector: introduce WebInspector.TextUtils
https://bugs.webkit.org/show_bug.cgi?id=109289
Summary
Web Inspector: introduce WebInspector.TextUtils
Andrey Lushnikov
Reported
2013-02-08 05:26:42 PST
Create a WebInspector.TextUtils namespace which will hold such methods as "isWord" and "isStopChar" which are going to be heavily used inside of DefaultTextEditor.
Attachments
Patch
(11.05 KB, patch)
2013-02-08 05:36 PST
,
Andrey Lushnikov
no flags
Details
Formatted Diff
Diff
Patch
(11.05 KB, patch)
2013-02-08 06:13 PST
,
Andrey Lushnikov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Andrey Lushnikov
Comment 1
2013-02-08 05:36:29 PST
Created
attachment 187300
[details]
Patch
Alexander Pavlov (apavlov)
Comment 2
2013-02-08 05:42:45 PST
Comment on
attachment 187300
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=187300&action=review
> Source/WebCore/inspector/front-end/TextUtils.js:69 > + for(var i = 0; i < word.length; ++i) {
Missing whitespace after "for"
Early Warning System Bot
Comment 3
2013-02-08 05:45:42 PST
Comment on
attachment 187300
[details]
Patch
Attachment 187300
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/16445688
Alexander Pavlov (apavlov)
Comment 4
2013-02-08 05:47:49 PST
Comment on
attachment 187300
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=187300&action=review
> Source/WebCore/inspector/front-end/WebKit.qrc:207 > + <file>TextUtils.js</file>'
Oops, an "'" after </file>
Early Warning System Bot
Comment 5
2013-02-08 05:48:47 PST
Comment on
attachment 187300
[details]
Patch
Attachment 187300
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/16415739
Andrey Lushnikov
Comment 6
2013-02-08 06:13:50 PST
Created
attachment 187303
[details]
Patch
Pavel Feldman
Comment 7
2013-02-09 01:42:10 PST
Comment on
attachment 187303
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=187303&action=review
> Source/WebCore/inspector/front-end/TextUtils.js:31 > +WebInspector.TextUtils = {
Is it going to be used outside of the editor? These methods look very editor-specific. Is there a reason we declare it all outside DefaultTextEditor and/or TextEditorModel.
Andrey Lushnikov
Comment 8
2013-02-10 23:17:16 PST
Comment on
attachment 187303
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=187303&action=review
>> Source/WebCore/inspector/front-end/TextUtils.js:31 >> +WebInspector.TextUtils = { > > Is it going to be used outside of the editor? These methods look very editor-specific. Is there a reason we declare it all outside DefaultTextEditor and/or TextEditorModel.
These methods don't have any notion of DefaultTextEditor/TextEditorModel, and due to their generic nature I decided to separate them into an independent namespace. Although they are not used anywhere except DTE at the moment, one day they might be found useful in other text-editing parts of front-end, e.g. TextPrompt.
WebKit Review Bot
Comment 9
2013-02-11 07:41:56 PST
Comment on
attachment 187303
[details]
Patch Clearing flags on attachment: 187303 Committed
r142471
: <
http://trac.webkit.org/changeset/142471
>
WebKit Review Bot
Comment 10
2013-02-11 07:42:00 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug