[PyKDE] eric3: Crash on copypaste

PFC lists at peufeu.com
Sat Jun 10 15:13:22 BST 2006


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.




More information about the PyQt mailing list