DescriptionDevTools: [CodeMirror] remove auto-inserted whitespaces
Currently, text editor auto-inserts spaces/tabs in certain cases. For example,
if you hit "enter" when your cursor is located on indented line, the new line
will be auto-indented. If you hit "enter" one more time, a new line will be
added, but the previous empty line with trailing auto-added whitespaces will
persist.
This patch suggests removing auto-added indents on every next "enter" keypress.
Note, that they will be removed only if they have not been edited.
R=vsevik, apavlov
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178515
Patch Set 1 #Patch Set 2 : reupload with --no-find-copies #
Total comments: 2
Patch Set 3 : rebaseline inspector/editor/text-editor-formatter.html #
Messages
Total messages: 17 (0 generated)
|