Extract selection update from updateStatusbar

This commit is contained in:
Yukai Huang 2017-03-28 11:57:44 +08:00
parent 81666a726c
commit b86ecb1342
3 changed files with 38 additions and 28 deletions

View file

@ -144,7 +144,8 @@ export default class Editor {
return
}
this.statusBar = $(this.statusBarTemplate)
this.statusCursor = this.statusBar.find('.status-cursor')
this.statusCursor = this.statusBar.find('.status-cursor > .status-line-column')
this.statusSelection = this.statusBar.find('.status-cursor > .status-selection')
this.statusFile = this.statusBar.find('.status-file')
this.statusIndicators = this.statusBar.find('.status-indicators')
this.statusIndent = this.statusBar.find('.status-indent')