Change case of next character

Is there any way to change only character that is after cursor to uppercase or lowercase in editor.

Eq.
for szdesttablename text
pressing some key (for change case) when cursor is after sz, will change d to D and pressing key (for change case) when cursor is between tt will change second t to T and finally pressing key (for change case) when cursor is before 'name' will change n to N. On that way I will change szdesttablename text to szDestTableName.
Typing text using right case is slower and can sometimes result in text that do not have same characters.
 
You can record a macro for this, add it to the Macro Library, and assign a function key:
  1. Make sure that a function key is assigned to "Edit / Selection / Uppercase" (e.g. Ctrl-U).
  2. Start the Macro Recorder in an editor.
  3. Press Shift-Right to select the character to the right of the cursor.
  4. Press Ctrl-U to change it to uppercase.
  5. Press left to go back and de-select.
  6. Stop the Macro Recorder and go to the Macro Library.
  7. Provide a name for the newly recorded Macro, for example "Upper Char", and check the "Add to Menu" option.
  8. Go to "Preferences > User Interface > Key Configuration" and assign a function key to "Edit / Text / Macro / Upper Char".
 
I mostly use it for typo correction but I don't see why you couldn't use AutoReplace to enforce a camel case.

1773667607151.png
 
Back
Top