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

Issue 2168713004: DevTools: Fix Ctrl-Z for source color picker (Closed)

Created:
4 years, 5 months ago by flandy
Modified:
4 years, 5 months ago
Reviewers:
lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Fix Ctrl-Z for source color picker All changes to the color text from the spectrum should count as one change for undo/redo. Pressing Ctrl-Z should also move the cursor to the change. R=lushnikov Committed: https://crrev.com/1dbc4855f847958bfb52edadc932229a4c3433bf Cr-Commit-Position: refs/heads/master@{#407054}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M third_party/WebKit/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js View 2 chunks +2 lines, -1 line 3 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (4 generated)
flandy
Please take a look
4 years, 5 months ago (2016-07-21 17:54:39 UTC) #1
lushnikov
https://codereview.chromium.org/2168713004/diff/1/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js (right): https://codereview.chromium.org/2168713004/diff/1/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js#newcode214 third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js:214: this._textEditor.editRange(this._currentColorPosition.textRange, colorString, "*color-text-changed"); what is "*" in the beginning? ...
4 years, 5 months ago (2016-07-21 17:55:39 UTC) #2
flandy
https://codereview.chromium.org/2168713004/diff/1/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js (right): https://codereview.chromium.org/2168713004/diff/1/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js#newcode214 third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js:214: this._textEditor.editRange(this._currentColorPosition.textRange, colorString, "*color-text-changed"); On 2016/07/21 17:55:39, lushnikov wrote: > ...
4 years, 5 months ago (2016-07-21 18:00:53 UTC) #3
flandy
https://codereview.chromium.org/2168713004/diff/1/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js (right): https://codereview.chromium.org/2168713004/diff/1/third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js#newcode214 third_party/WebKit/Source/devtools/front_end/sources/CSSSourceFrame.js:214: this._textEditor.editRange(this._currentColorPosition.textRange, colorString, "*color-text-changed"); On 2016/07/21 18:00:52, flandy wrote: > ...
4 years, 5 months ago (2016-07-21 20:01:51 UTC) #4
lushnikov
got it, thanks
4 years, 5 months ago (2016-07-21 20:49:53 UTC) #5
lushnikov
lgtm
4 years, 5 months ago (2016-07-21 20:50:02 UTC) #6
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/2168713004/1
4 years, 5 months ago (2016-07-21 21:29:15 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/260193)
4 years, 5 months ago (2016-07-22 01:41:56 UTC) #10
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/2168713004/1
4 years, 5 months ago (2016-07-22 02:43:58 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-22 03:58:03 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 04:02:09 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1dbc4855f847958bfb52edadc932229a4c3433bf
Cr-Commit-Position: refs/heads/master@{#407054}

Powered by Google App Engine
This is Rietveld 408576698