mirror of https://github.com/status-im/codimd.git
fix: correct to singular location
Signed-off-by: Daniel Lublin <daniel@lublin.se>
This commit is contained in:
parent
547262243c
commit
db0ee65fc8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue