[PyKDE] subtle bug in eric3 editor

Phil Thompson phil at riverbankcomputing.co.uk
Sat Jul 8 15:30:43 BST 2006


On Friday 07 July 2006 10:07 pm, Andreas Pakulat wrote:
> Hi,
>
> I think there's a bug in either eric3's "usage" of QScintilla or
> QScintilla itself: When a : is put into a line, an enter on that line
> will go to the next line _and_ eric3 indents the next line. This is only
> the correct behaviour if the line where I press enter contains for, def,
> class, if (and what else I forgot) and if there's nothing after the :
> except whitespace or #.
>
> Or am I wrong at that?
>
> I stumbled upon this with:
> data = self.doc.xpath(self.search_xpath,
> {'moviedbns':'http://localhost/moviedb'})
>
> where eric3 indents the next line when I press enter at the end of that
> line.

A fix for this will be in tonight's QScintilla snapshot.

Phil




More information about the PyQt mailing list