[PyKDE] subtle bug in eric3 editor

Andreas Pakulat apaku at gmx.de
Sat Jul 8 17:30:44 BST 2006


On 08.07.06 15:30:43, Phil Thompson wrote:
> 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.

Thanks.

Andreas

-- 
This will be a memorable month -- no matter how hard you try to forget it.




More information about the PyQt mailing list