[PyKDE] Suggestion for an option: make lexer.commentStr configurable as a user preference

Detlev Offenbach detlev at die-offenbachs.de
Sat Sep 18 14:48:19 BST 2004


Am Samstag, 18. September 2004 02:40 schrieb Mike C. Fletcher:
> It's possible, by altering the literal string in
> eric3/QScintilla/LexerPython.py, to use for example '##' as the
> comment-string inserted/removed by Eric3 when commenting/uncommenting
> blocks of text.
>
> This is quite useful if you have a large code-base which has throughout
> it blocks of comments created by e.g. PythonWin, which uses '##' for
> block commenting/uncommenting.  You can then edit the files using either
> editor and have the block-comment/uncomment functions interact perfectly
> (instead of having uncomment not work at all in Eric and leave '~ '
> characters at the start of every line in PythonWin).
>
> Anyway, just a suggestion,
> Mike
>

This will be in the next snapshot.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list