cmcToggleCharCase patch
Brought to you by:
set
From: Thiago F.G. A. <tf...@te...> - 2005-08-04 14:29:25
|
Hi, This patch fixes one anoyance in cmcToggleCharCase. Let me explain. cmcToggleCharCase behaves like this: if the char under the cursor is a letter, it toggles the case and moves to the right; if it is not, it just doesn't do anything, the cursor stays in the same position. Now suppose you're toggling the case of a identifier with a underscore in the midle, e.g. set_files You position the cursor in the first letter, and start "toggling", one letter at a time. When the cursor reaches the '_', it stops. Then you have to move to the right yourself to continue the process. That's the annoyance. When the char under cursor is not a letter, cmcToggleCharCase should move to the right too. Tha't what the patch fixes. [], Thiago |