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

Issue 2238883004: DevTools: Split off SourcesTextEditor from CodeMirrorTextEditor (Closed)

Created:
4 years, 4 months ago by einbinder
Modified:
4 years, 4 months ago
Reviewers:
dgozman, 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Split off SourcesTextEditor from CodeMirrorTextEditor This is in preperation for CodeMirror-based console BUG=607690 Committed: https://crrev.com/c94618bb52b07b3c367e2ea52fc16e9352c20b44 Cr-Commit-Position: refs/heads/master@{#413873}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Move whitespace to SourcesTextEditor #

Patch Set 3 : Fix copyright #

Total comments: 8

Patch Set 4 : scrollLineIntoView typo on dismiss #

Patch Set 5 : Move editRange to CMTE #

Patch Set 6 : Merge and move decorations to CMTE #

Total comments: 3

Patch Set 7 : Merge with changes patch #

Total comments: 4

Patch Set 8 : Stray line #

Messages

Total messages: 17 (5 generated)
einbinder
Ptal
4 years, 4 months ago (2016-08-12 18:16:32 UTC) #2
dgozman
https://codereview.chromium.org/2238883004/diff/1/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js File third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js (left): https://codereview.chromium.org/2238883004/diff/1/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js#oldcode590 third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js:590: WebInspector.moduleSetting("showWhitespacesInEditor").removeChangeListener(this._updateCodeMirrorMode, this); All the settings should be in SourcesTextEditor. ...
4 years, 4 months ago (2016-08-15 23:16:07 UTC) #4
einbinder
ptal https://codereview.chromium.org/2238883004/diff/1/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js File third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js (left): https://codereview.chromium.org/2238883004/diff/1/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js#oldcode590 third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js:590: WebInspector.moduleSetting("showWhitespacesInEditor").removeChangeListener(this._updateCodeMirrorMode, this); On 2016/08/15 at 23:16:07, dgozman wrote: ...
4 years, 4 months ago (2016-08-16 19:00:59 UTC) #5
lushnikov
That's a huge patch! Let's make it in a few steps? https://codereview.chromium.org/2238883004/diff/40001/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js File third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js (left): ...
4 years, 4 months ago (2016-08-18 21:43:03 UTC) #6
einbinder
ptal https://codereview.chromium.org/2238883004/diff/40001/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js File third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js (left): https://codereview.chromium.org/2238883004/diff/40001/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js#oldcode1351 third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js:1351: editRange: function(range, text, origin) On 2016/08/18 at 21:43:03, ...
4 years, 4 months ago (2016-08-18 22:52:23 UTC) #7
lushnikov
Let's land this in two steps: 1. Make all the changes in the code you'd ...
4 years, 4 months ago (2016-08-22 19:47:04 UTC) #8
einbinder
Ptal. I merged with the previous patch that had the CMTE changes. https://codereview.chromium.org/2238883004/diff/100001/third_party/WebKit/LayoutTests/inspector/editor/text-editor-indent-autodetection.html File third_party/WebKit/LayoutTests/inspector/editor/text-editor-indent-autodetection.html ...
4 years, 4 months ago (2016-08-23 18:21:49 UTC) #9
lushnikov
lgtm https://codereview.chromium.org/2238883004/diff/120001/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js File third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js (left): https://codereview.chromium.org/2238883004/diff/120001/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js#oldcode1692 third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js:1692: this._setEditorIndentation(text.split("\n").slice(0, WebInspector.CodeMirrorTextEditor.LinesToScanForIndentationGuessing)); this was in-between of setText on ...
4 years, 4 months ago (2016-08-23 21:05:19 UTC) #10
einbinder
https://codereview.chromium.org/2238883004/diff/120001/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js File third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js (left): https://codereview.chromium.org/2238883004/diff/120001/third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js#oldcode1692 third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js:1692: this._setEditorIndentation(text.split("\n").slice(0, WebInspector.CodeMirrorTextEditor.LinesToScanForIndentationGuessing)); On 2016/08/23 at 21:05:19, lushnikov wrote: > ...
4 years, 4 months ago (2016-08-23 21:08:58 UTC) #11
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/2238883004/140001
4 years, 4 months ago (2016-08-23 21:10:06 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-08-23 22:46:36 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 22:48:38 UTC) #17
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c94618bb52b07b3c367e2ea52fc16e9352c20b44
Cr-Commit-Position: refs/heads/master@{#413873}

Powered by Google App Engine
This is Rietveld 408576698