Re: cmcToggleCharCase patch
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2005-08-04 20:09:35
|
Thiago F.G. Albuquerque wrote: > 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. Ok, applied. SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |