Menu

#4 mouse doubleclik select behaviour

open
None
5
2003-10-20
2003-07-27
Erik Reuter
No

When i doubleclick on a word in the JS file, too much
gets selected.

It seems like the editor searches for the nearest start
and end " signs and selects everything in between.

The editor should look for additional characters when
selecting text using the doubleclick action of the
mouse, like spaces, dots and end-of-line chars to limit
the selected range.

PS.: Big fan of the editor, keep up the good work!

Discussion

  • Erik Reuter

    Erik Reuter - 2003-07-27

    Logged In: YES
    user_id=729059

    Oh, more delimiter characters should be:
    - Parantheses ()
    - Square brakets []

    It should include all the delimitors in the search, so that
    double clicking on myFunction in the below code only selects
    the word "myFunction":

    function myFunction(myVar) {
    }

    Maybe an alphanumerical matching function would be simpler
    than dealing with all the special chars?

     
  • Erik Reuter

    Erik Reuter - 2003-08-02

    Logged In: YES
    user_id=729059

    Ahh... Found that this bug is connected to 778464, when the
    error message appears having vars in the script file, the
    selection behaviour goes haywire!

     
  • Alex Fitzpatrick

    • assigned_to: nobody --> agfitzp
     

Log in to post a comment.

MongoDB Logo MongoDB