[wingide-users] Patch: editor-extensions.py upper/lower/titlecase

Yves Bastide bastide at agrocampus-rennes.fr
Wed Oct 19 06:28:50 EDT 2005


attached is a patch to scripts/editor-extensions.py. It has two objectives:

* make upper-/lower-/title-case work without selection, like in Emacs 
(modulo 'forward-word' differences)

* enhance title-casing to consider any non-alphabetic character as a 
word separator (string.capwords splits on white-spaces only, and replace 
them with " ").

BTW, the first chunk of the patch does not apply, since it tries to 
remove a nonexistent '_ignore_scripts = 1' from 
/usr/local/lib/wingide2.0/scripts/editor-extensions.py. I had to add 
this line because the scripts search order is backward 
(/usr/local/lib/wingide2.0/scripts is before ~/.wingide2.0/scripts); and 
changing it breaks the 'import' statement. Known bug?

BTW2: Do you Wingware guys plan on using a public bug tracker?


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: editor-extensions.diff
Url: /pipermail/wingide-users/attachments/20051019/732ca674/editor-extensions.bat

More information about the wingide-users mailing list