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

Issue 24371003: Formatter selection preservation support. (Closed)

Created:
7 years, 3 months ago by pquitslund
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Formatter selection preservation support. As a first cut, this attempts to preserve starting offsets after formatting. Still todo is some reparing of selection length. Also note: that the JSON format may well change. This is just enough to wire it through the Editor UI (next up). R=scheglov@google.com Committed: https://code.google.com/p/dart/source/detail?r=27859

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -11 lines) Patch
M pkg/analyzer_experimental/bin/formatter.dart View 1 6 chunks +46 lines, -3 lines 0 comments Download
M pkg/analyzer_experimental/lib/src/services/formatter_impl.dart View 1 2 5 chunks +25 lines, -3 lines 0 comments Download
M pkg/analyzer_experimental/test/services/formatter_test.dart View 1 2 3 chunks +23 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scheglov
lgtm
7 years, 3 months ago (2013-09-24 22:03:27 UTC) #1
pquitslund
7 years, 3 months ago (2013-09-24 22:57:50 UTC) #2
Message was sent while issue was closed.
Committed patchset #3 manually as r27859 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698