#213 Upper Case and Lower Case

closed
Sridhar
core (195)
3
2008-04-21
2008-04-20
Sridhar
No

Hi,
I was wondering if there was a macro that could automatically convert the selected text into upper case or lower case. I have also come up with two simple macros which could do this job.
Thanks,
Sridhar.

Discussion

  • Sridhar
    Sridhar
    2008-04-20

    Upper Case Macro

     
    Attachments
  • Sridhar
    Sridhar
    2008-04-20

    Logged In: YES
    user_id=1992855
    Originator: YES

    File Added: To Uppercase.bsh

     
  • Sridhar
    Sridhar
    2008-04-20

    Logged In: YES
    user_id=1992855
    Originator: YES

    File Added: To Lowercase.bsh

     
  • Sridhar
    Sridhar
    2008-04-20

    Lower Case Macro

     
    Attachments
  • Sridhar
    Sridhar
    2008-04-20

    Logged In: YES
    user_id=1992855
    Originator: YES

    I feel these two macros can go into the Macros->Text->Change Case Menu in jEdit.

     
  • Alan Ezust
    Alan Ezust
    2008-04-20

    Logged In: YES
    user_id=935841
    Originator: NO

    There are built-in actions (not macros) for To Upper Case and To Lower Case.
    Perhaps if we gave these some additional smarts, they could operate on the selection if there is one, and otherwise do the same thing they did before (convert the word under the caret).

    If you ask me, these actions if they are operating on a word, should also advance the caret to the next word... or we should add macros to do that.

     
  • Sridhar
    Sridhar
    2008-04-20

    Logged In: YES
    user_id=1992855
    Originator: YES

    Oh ya! I wonder how I missed it...
    Sorry about this Alan.

     
  • Sridhar
    Sridhar
    2008-04-21

    • status: open --> closed