mirror of https://github.com/status-im/codimd.git
Merge pull request #1365 from quite/fixlocation
fix: correct to singular location
This commit is contained in:
commit
725795651a
|
@ -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