Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Issue 2372663004: DevTools: Replace multiline InplaceEditor with CodeMirrorTextEditor (Closed)

Created:
4 years, 2 months ago by einbinder
Modified:
3 years, 9 months ago
Reviewers:
lushnikov
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Replace multiline InplaceEditor with CodeMirrorTextEditor BUG=none Review-Url: https://codereview.chromium.org/2372663004 Cr-Commit-Position: refs/heads/master@{#455202} Committed: https://chromium.googlesource.com/chromium/src/+/24633cf6eced187fb4e0717f0083befce859d4fa

Patch Set 1 #

Total comments: 14

Patch Set 2 : Remove new css class #

Total comments: 1

Patch Set 3 : Blur listener #

Patch Set 4 : Consume key events, fix shift-page-up #

Patch Set 5 : format #

Patch Set 6 : blur #

Total comments: 10

Patch Set 7 : height #

Patch Set 8 : resize width #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -254 lines) Patch
M third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-3.html View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html View 1 2 3 4 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-shadow-2.html View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js View 1 2 3 4 5 6 7 5 chunks +62 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/elementsTreeOutline.css View 1 2 3 4 5 6 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/source_frame/SourcesTextEditor.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorUtils.js View 1 2 3 4 1 chunk +72 lines, -151 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/text_editor/module.json View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/InplaceEditor.js View 1 2 3 4 7 chunks +8 lines, -53 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 33 (16 generated)
einbinder
I still need to look this over, but if you have time ptal.
4 years, 2 months ago (2016-09-27 04:16:12 UTC) #2
lushnikov
https://codereview.chromium.org/2372663004/diff/1/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html File third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html (right): https://codereview.chromium.org/2372663004/diff/1/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html#newcode67 third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html:67: // var value = treeElement._editing.editorForTest.text(); drop https://codereview.chromium.org/2372663004/diff/1/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js ...
4 years, 2 months ago (2016-09-27 18:28:41 UTC) #3
lushnikov
https://codereview.chromium.org/2372663004/diff/1/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html File third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html (right): https://codereview.chromium.org/2372663004/diff/1/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html#newcode67 third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html:67: // var value = treeElement._editing.editorForTest.text(); drop https://codereview.chromium.org/2372663004/diff/1/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js ...
4 years, 2 months ago (2016-09-27 18:28:41 UTC) #4
einbinder
https://codereview.chromium.org/2372663004/diff/1/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html File third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html (right): https://codereview.chromium.org/2372663004/diff/1/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html#newcode67 third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-actions-4.html:67: // var value = treeElement._editing.editorForTest.text(); On 2016/09/27 at 18:28:40, ...
4 years, 2 months ago (2016-09-29 17:36:51 UTC) #5
lushnikov
the f2/esc syntax throws error for me https://codereview.chromium.org/2372663004/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js (right): https://codereview.chromium.org/2372663004/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js#newcode835 third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js:835: // editor.widget().element.addEventListener("blur", ...
4 years, 2 months ago (2016-09-29 21:16:26 UTC) #6
einbinder
On 2016/09/29 at 21:16:26, lushnikov wrote: > the f2/esc syntax throws error for me > ...
4 years, 2 months ago (2016-09-29 22:16:19 UTC) #7
lushnikov
1. esc to exit mode triggers console 2. the "shift-page-up" doesn't work
4 years, 2 months ago (2016-10-01 00:55:43 UTC) #8
einbinder
On 2016/10/01 at 00:55:43, lushnikov wrote: > 1. esc to exit mode triggers console > ...
4 years, 2 months ago (2016-10-03 18:41:12 UTC) #9
einbinder
ptal
3 years, 9 months ago (2017-03-01 23:08:33 UTC) #13
lushnikov
code looks good! Let's fix the exception and land after the branch lgtm https://codereview.chromium.org/2372663004/diff/100001/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js File ...
3 years, 9 months ago (2017-03-01 23:52:48 UTC) #14
einbinder
https://codereview.chromium.org/2372663004/diff/100001/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js (right): https://codereview.chromium.org/2372663004/diff/100001/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js#newcode795 third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js:795: function cancel() { On 2017/03/01 at 23:52:48, lushnikov wrote: ...
3 years, 9 months ago (2017-03-02 00:25:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2372663004/140001
3 years, 9 months ago (2017-03-07 01:53:17 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/379110)
3 years, 9 months ago (2017-03-07 04:49:51 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2372663004/140001
3 years, 9 months ago (2017-03-07 06:04:12 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/379263)
3 years, 9 months ago (2017-03-07 08:28:57 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2372663004/140001
3 years, 9 months ago (2017-03-07 19:33:19 UTC) #30
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 20:31:27 UTC) #33
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/24633cf6eced187fb4e0717f0083...

Powered by Google App Engine
This is Rietveld 408576698