Last modified: 2014-09-07 20:10:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71890, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69890 - CodeEditor should keep position of cursor when switching on and off
CodeEditor should keep position of cursor when switching on and off
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CodeEditor (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-22 09:51 UTC by Michael M.
Modified: 2014-09-07 20:10 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael M. 2014-08-22 09:51:01 UTC
Turning CodeEditor on currently sets the cursor at the beginning of the first line (this is more or less bug 60157), turning it off restores the textbox in the same position as it was when CodeEditor was enabled.

In both cases keeping the cursor position would be helpful and should be possible, as the textbox has the getCaretPosition from jquery.textSelection, and CodeEditor should have a similar API.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links