[PyKDE] subtle bug in eric3 editor

Andreas Pakulat apaku at gmx.de
Mon Jul 10 17:57:31 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.

I installed QScintilla snapshot 20060709 and now it's the other way
around: I can't get any auto-indenting in eric3, not for dicts but also
not for if's or for's.

Somthing went wrong in the fix, I think.

Andreas

-- 
A day for firm decisions!!!!!  Or is it?




More information about the PyQt mailing list