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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Upper Case Macro
Logged In: YES
user_id=1992855
Originator: YES
File Added: To Uppercase.bsh
Logged In: YES
user_id=1992855
Originator: YES
File Added: To Lowercase.bsh
Lower Case Macro
Logged In: YES
user_id=1992855
Originator: YES
I feel these two macros can go into the Macros->Text->Change Case Menu in jEdit.
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.
Logged In: YES
user_id=1992855
Originator: YES
Oh ya! I wonder how I missed it...
Sorry about this Alan.