Skip to content
Snippets Groups Projects
Commit 9bf59522 authored by Xavier Mendez's avatar Xavier Mendez Committed by Marijn Haverbeke
Browse files

Fix some issues on mark-selection

 - When mark-selection is deactivated the mark was not removed.
 - When mark-selection is [re]activated it immediately calls
   updateSelectedText() to set the mark if there's already a selection.
 - In addition to removing the mark, the handle is completely deleted
   to leave the CodeMirror instance in a clean state, and avoid re-deleting
   the mark if it's activated again.
parent 1648e9d7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment