Page MenuHomePhabricator

Initial position on the status bar
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The bottom-right part says "0:0". When you focus the editor and move the caret to its original position, it says "1:0".

What should have happened instead?:
The bottom-right part says "1:0".

Other information:
The bottom-right part says "0:0" before you focus the editor.

Related Objects

Event Timeline

The first part of this ticket is the expected behavior which is consistent with Extension:CodeEditor.

The caret is already blinking at the first position, so I doubt that. I don't know of a text editor whose status bar says "line 0, col 0" after opening a blank tab.

Bhsd renamed this task from Columns start at 0, not 1 to Initial position on the status bar.Feb 24 2026, 3:07 PM
Bhsd updated the task description. (Show Details)
Bhsd moved this task from Backlog to Bugs on the MediaWiki-extensions-CodeMirror board.

Change #1243150 had a related patch set uploaded (by Bhsd; author: Bhsd):

[mediawiki/extensions/CodeMirror@master] CodeMirrorLint: initialize the position indicator

https://gerrit.wikimedia.org/r/1243150

Change #1243150 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@master] CodeMirrorLint: initialize the position indicator

https://gerrit.wikimedia.org/r/1243150

Bhsd moved this task from Bugs to Done on the MediaWiki-extensions-CodeMirror board.