[PyKDE] eric3: Crash on copypaste

Detlev Offenbach detlev at die-offenbachs.de
Sat Jun 10 15:41:55 BST 2006


On Saturday 10 June 2006 16:13, PFC wrote:
> On Sat, 10 Jun 2006 11:33:37 +0200, Detlev Offenbach
>
> <detlev at die-offenbachs.de> wrote:
> > On Friday 09 June 2006 22:31, PFC wrote:
> >> 	When I paste text containing accented chars encoded in ISO-8859-1 in an
> >> eric text editor handling an utf-8 file, eric crashes.
> >> 	It displays this in the console :
> >>
> >> *** glibc detected *** double free or corruption (!prev):
> >> 0x000000000185b6b0 ***
> >> Abandon
> >>
> >> 	Instead of crashing, I wish it would prompt me, for instance, "The text
> >> to be pasted contains invalid characters in the current document
> >> encoding.
> >> Select an encoding to convert the pasted data".
> >
> > Copy and Paste is done entirely by QScintilla, the editor widget used by
> > eric3. This has a problem handling invalid characters. Please post a bug
> > report to the Scintilla maintainers.
>
> 	Will do this.
>
> > You can select the background color for matched and unmatched braces.
> > Please
> > upgrade to a newer version of eric3.
>
> 	OK, done, this is good, thank you.
> 	It has the same bug as in SciTE, though : in order to see the [un]matched
> braces background, you need to disable the "Caretline Visible" option in
> the Preferences.

It is using the same editor widget, which is Scintilla. That means, it has the 
same editor bugs as SciTE. Please post a bug report to the Scintilla people.

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




More information about the PyQt mailing list