diff options
author | Yukai Huang | 2017-03-28 11:57:44 +0800 |
---|---|---|
committer | Yukai Huang | 2017-03-28 11:57:44 +0800 |
commit | b86ecb1342673628151f729edc0c8714b1d07de0 (patch) | |
tree | 157158fca131a5ff1f913a6d4604ede14f255729 /public/js/lib/editor | |
parent | 81666a726c831af23e1d04d18e8efae3ecc0930d (diff) |
Extract selection update from updateStatusbar
Diffstat (limited to 'public/js/lib/editor')
-rw-r--r-- | public/js/lib/editor/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/lib/editor/index.js b/public/js/lib/editor/index.js index 8d617247..6eec34ad 100644 --- a/public/js/lib/editor/index.js +++ b/public/js/lib/editor/index.js @@ -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') |