[PyKDE] QScintilla snapshot not auto-indenting anymore

Andreas Pakulat apaku at gmx.de
Mon Jul 17 20:37:59 BST 2006


On 17.07.06 19:04:21, Detlev Offenbach wrote:
> PS: For those of you, who are willing to patch it themselves. In the Editor 
> methods "bindLexer" and "readSettings" (Editor.py) make the lines dealing 
> with autoindentation settings for Python read

Thanks, I would have asked for it else ;-)

For those who are not brave enough to edit the files themselves I attach
a patch which changes the 2 methods accordingly.

While we're at it: Using the patch needs a qscintilla snapshot, which
needs a pyqt3 snapshot (not sure wether that needs a sip snapshot). This
in turn means hacking install.py because the format of the pyqt
version string changed in the current snapshots (it's 3-snapshot-date
now). I hacked my install.py by replacing the pyqtVersion[:9] with
pyqtVersion[2:11] (and the same for the qscintilla check) but this is
not really nice. Detlev would you be so kind to post the proper change
for this?

Andreas

-- 
You will engage in a profitable business activity.




More information about the PyQt mailing list