EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

ChangeCase Method

Changes the case of the selected text.


document.selection.ChangeCase( nFlags );


document.selection.ChangeCase nFlags



Specifies one of the following values:

eeCaseLowerCase Converts uppercase letters to lowercase letters.
eeCaseUpperCase Converts lowercase letters to uppercase letters.
eeCaseCapitalize Capitalizes the first letter of each word (EmEditor Professional Version 4.10 or later).


Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2016 by Emurasoft, Inc.