Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Luc Bourdot
codimd
Commits
db0ee65f
Commit
db0ee65f
authored
Dec 01, 2019
by
Daniel Lublin
Browse files
fix: correct to singular location
Signed-off-by:
Daniel Lublin
<
daniel@lublin.se
>
parent
54726224
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/js/lib/editor/index.js
View file @
db0ee65f
...
...
@@ -331,7 +331,7 @@ export default class Editor {
if
(
!
this
.
statusBar
)
return
var
cursor
=
this
.
editor
.
getCursor
()
var
cursorText
=
'
Line
'
+
(
cursor
.
line
+
1
)
+
'
, Column
s
'
+
(
cursor
.
ch
+
1
)
var
cursorText
=
'
Line
'
+
(
cursor
.
line
+
1
)
+
'
, Column
'
+
(
cursor
.
ch
+
1
)
this
.
statusCursor
.
text
(
cursorText
)
var
fileText
=
'
—
'
+
editor
.
lineCount
()
+
'
Lines
'
this
.
statusFile
.
text
(
fileText
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment