Forum Replies Created
- AuthorPosts
- June 6, 2007 at 12:58 am in reply to: capitalize the first characters of the words and lowercase all the rest characters #4417webernMember
EmEditor has internal command that “capitalizes the first letter of each word in the selection”.
You may find it in Edit MenuConvert SelectionCapitalize.
You just need to assign a hotkey for it through “Tools MenuProperites for…ConfigurationKeyboard”.webernMemberTry this macro:
document.selection.Replace( "<.*?>", "", eeFindReplaceRegExp | eeReplaceAll );
document.selection.Replace( "&.*?;", "", eeFindReplaceRegExp | eeReplaceAll );
Quit();Also you may assign a shortcut to run it.
webernMemberTools Menu ->
… Properties for Current Configuration (or All Configurations) ->
…..Keyboard Tab ->
……Category ‘My Macros’webernMember…hm it’s my fault, i’m sorry.
it should be the document.selection.Mode = eeModeStream (not eModeStream)Code:
document.selection.Mode = eeModeStream;
document.selection.SelectLine();
Quit();So if you ‘re using EE Pro you need to create plain text file with .jsee extension (e.g SelectLine.jsee) then put the above code in it.
Then register the macro in EE: Macros menu->Customize->NewwebernMemberTry this macro:
document.selection.Mode = eModeStream;
document.selection.SelectLine();
Quit();Also you may assign the shortcut key to this macro.
webernMemberThe Sum plugin plugin can do that.
- AuthorPosts