Menu

#20 Actions to lower case should select current word

closed-fixed
core (195)
1
2006-09-07
2006-07-20
No

Hi, I think it would be useful if the actions "to lower
case" and "to upper case" could select the current word
if there is no selection.
Do anyone see a problem that it could cause ?

Discussion

  • Alan Ezust

    Alan Ezust - 2006-07-20

    Logged In: YES
    user_id=935841

    I wrote little macros to do it, like this:

    textArea.goToNextWord(true,false);
    textArea.toUpperCase();

    I suppose we could add them to the core though.

     
  • Nicholas O'Leary

    Logged In: YES
    user_id=631957

    I have made a change to my local versions of
    toUpperCase/toLowerCase so that they select the current word
    if there are no selections. This works well and seems a
    sensible alteration.

    However, at the moment, undo-ing the actions now moves the
    cursor to the end of the word. Once I figure out how to keep
    the cursor in the same place over the undo, I will commit.

     
  • Alan Ezust

    Alan Ezust - 2006-09-03
    • assigned_to: nobody --> ezust
     
  • Matthieu Casanova

    Logged In: YES
    user_id=285591

    it is done un SVN for 4.3pre7

     
  • Matthieu Casanova

    • status: open --> closed-fixed
     

Log in to post a comment.