[PyKDE] Suggestion for an option: make lexer.commentStr
configurable as a user preference
Mike C. Fletcher
mcfletch at rogers.com
Sat Sep 18 01:40:27 BST 2004
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
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
More information about the PyQt
mailing list