Convert|Case|Auto Adjust Case

(available in EditPad Pro only)

On the Colors and Syntax page in the file type configuration you can select a syntax coloring scheme for each file type. A syntax coloring scheme can apply case conversion rules to specific parts of the text. The HTML scheme included with EditPad, for example, specifies that HTML tags should be lowercase.

The Auto Adjust Case item in the Case submenu of the Convert menu is only enabled when the syntax coloring scheme used for the active file specifies such case conversion rules. This item is a toggle that you can turn on and off. When on, case conversion rules are applied automatically to any text you enter when you move the cursor away from the line you entered the text on. This delay ensures that Auto Adjust Case does not incorrectly adjust partially entered words. The Delphi scheme, for example, converts keywords such as "begin" to lowercase. But if you enter "Begin" as part of a longer identifier such as "BeginOperation()" then no conversion should take place. By holding off the conversion until you move the cursor away from the line, EditPad ensures you do not end up with "beginOperation()".

On the Editor page in the file type configuration you can toggle the “adjust case” checkbox to turn Auto Adjust Case on or off by default.

If you want to apply this conversion to text that is already present in the file or to text that you have pasted, use the Convert|Case|Adjust Case command. You can use this command regardless of whether Auto Adjust Case is on or off.

See Also

Convert menu
Convert|Case|Adjust Case
File Types|Colors and Syntax