https://bugzilla.wikimedia.org/show_bug.cgi?id=69890

            Bug ID: 69890
           Summary: CodeEditor should keep position of cursor when
                    switching on and off
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: CodeEditor
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: listenle...@gmail.com
                CC: br...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to