DescriptionDevTools: editor should not loose scroll position when displaying inline values
The bug happens due to the following reasons:
a) CodeMirror requires manual scroll restoring after it is attached to DOM.
It is usually done via "refresh" method call, but we optimize this and
restore scroll position via custom super-fast logic, written in
CodeMirrorTExtEditor.onResize.
b) if a codeMirror.operation is called on unitialized CodeMirror instance, then
scroll position is lost.
This patch post-pones inline value processing until textEditor is
initialized.
BUG=499889
R=pfeldman
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197273
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|
|||||||||||||||||||