only fire change events if selection/cursor really changes
This commit is contained in:
parent
61f0cb63d9
commit
39433d0733
4 changed files with 52 additions and 14 deletions
|
|
@ -21,7 +21,7 @@ var NavigationTest = TestCase("NavigationTest",
|
|||
var doc = this.createTextDocument(200, 10);
|
||||
var editor = new ace.Editor(new MockRenderer(), doc);
|
||||
|
||||
editor.scrollToRow(editor.getLastVisibleRow() + 20);
|
||||
editor.moveCursorTo(editor.getLastVisibleRow() + 20);
|
||||
editor.navigateFileStart();
|
||||
|
||||
assertEquals(0, editor.getFirstVisibleRow());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue