Merge pull request #1365 from quite/fixlocation

fix: correct to singular location
This commit is contained in:
Max Wu 2019-12-02 19:03:12 +08:00 committed by GitHub
commit 725795651a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ export default class Editor {
if (!this.statusBar) return if (!this.statusBar) return
var cursor = this.editor.getCursor() var cursor = this.editor.getCursor()
var cursorText = 'Line ' + (cursor.line + 1) + ', Columns ' + (cursor.ch + 1) var cursorText = 'Line ' + (cursor.line + 1) + ', Column ' + (cursor.ch + 1)
this.statusCursor.text(cursorText) this.statusCursor.text(cursorText)
var fileText = ' — ' + editor.lineCount() + ' Lines' var fileText = ' — ' + editor.lineCount() + ' Lines'
this.statusFile.text(fileText) this.statusFile.text(fileText)