[PyKDE] subtle bug in eric3 editor

Detlev Offenbach detlev at die-offenbachs.de
Sat Jul 8 09:58:42 BST 2006


On Friday 07 July 2006 23:07, 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.
>
> Andreas

Hi Andreas,

that is a Scintilla "feature". I don't use the "Autoindent after ':'" feature. 
(see configuration dialog -> Editor -> Properties page).

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list