Double-clicking a word does not select it #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It does on Webkit, Opera, and Firefox. Since you didn't even specify which browser you tested with, I'm going to close this until further notice.
It doesn't in all tested browsers (Safari 5.0.3, Opera 11 and Firefox 4 beta 10 pre on Mac OS X 10.6).
Well, it does for me. Please describe your test case in more detail. When I visit http://codemirror.net/jstest.html and double-click any of the words in the editor, they are selected.
I'm talking about CodeMirror 2. This is why I created an issue here. Text selection in CodeMirror 0.92 works well for me.
Ugh, I didn't pay attention. Yeah, double-click select is definitely broken in CM2. Adding to my list.
This was implemented in
0995478327Still doesn't work correctly, sometimes it does select the word, other times it selects the first line or jumps to the beginning of the first line. (Edit: It seems this happens when double clicking between the characters. Weird.)
I debugged the code and it seems it sometimes fires the double click event (and works correctly) and sometimes it doesn't. I think the event is going to the wrong element.
Heh, this was a bizarre corner case where the mouse event ended up on the absolutely positioned cursor node, and my code, which tried to ensure it only handled events on the text (not, for example, on the line-number gutter), got confused by that. Should be fixed by
3153be8ffc, let me know if you find more problems.mentioned in issue #1157
mentioned in merge request !9909
mentioned in issue #3537
mentioned in issue #4604
mentioned in issue #5251
mentioned in issue #5840