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
72579565
Unverified
Commit
72579565
authored
Dec 02, 2019
by
Max Wu
Committed by
GitHub
Dec 02, 2019
Browse files
Merge pull request #1365 from quite/fixlocation
fix: correct to singular location
parents
54726224
db0ee65f
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/js/lib/editor/index.js
View file @
72579565
...
...
@@ -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