mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Don't defer update of cursor position in status bar
We have to update it eventually, so it just adds complexity to delay it and we'll still pay a price during an extended burst of typing once the timer does fire.
This commit is contained in:
@@ -35,7 +35,7 @@ class StatusBar extends View
|
||||
@updatePathText()
|
||||
|
||||
@updateCursorPositionText()
|
||||
@editor.on 'cursor-move', => _.delay (=> @updateCursorPositionText()), 50
|
||||
@editor.on 'cursor-move', => @updateCursorPositionText()
|
||||
|
||||
@subscribeToBuffer()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user