[QScintilla] Lines shown twice

Detlev Offenbach detlev at die-offenbachs.de
Wed Jan 2 12:46:11 GMT 2013


Unfortunately I was not able to create a minimal test case. It just happens while coding with eric5. Maybe you noticed, that one line was not displayed but the duplicate instead. Sometimes just lines are not shown without duplicates. I have the impression, that it could be a pointer or list thing.

Am 02.01.2013 um 13:37 schrieb Phil Thompson <phil at riverbankcomputing.com>:

> On Tue, 1 Jan 2013 16:30:18 +0100, Detlev Offenbach
> <detlev at die-offenbachs.de> wrote:
>> Hello Phil,
>> 
>> I am using the high level API
>> 
>> self.annotate(line, annotations)
>> self.clearAnnotations(line)
>> 
>> 'annotations' is a list of QStyledText.
>> 
>> Regards,
>> Detlev
> 
> I was getting two bugs mixed up. I haven't done anything about this
> problem (other than upgrade to the latest Scintilla) because I haven't been
> able to reproduce it.
> 
> Phil
> 
>> Am 01.01.2013 um 16:02 schrieb Phil Thompson
> <phil at riverbankcomputing.com>:
>> 
>>> On Mon, 31 Dec 2012 16:57:46 +0100, Detlev Offenbach
>>> <detlev at die-offenbachs.de> wrote:
>>>> Hello,
>>>> 
>>>> the recent QScintilla seems to not fix the duplicate lines issue
>>> properly.
>>>> I 
>>>> just observed it again (s. attached screenshot). Over here it seems to
>>>> happen 
>>>> after annotations have been added and deleted several times.
>>> 
>>> Are you using the high-level API or the low-level Scintilla API for
>>> annotations? The fixes were implemented in the high-level as
> workarounds
>>> for bugs (which still exist) in the low-level API.
>>> 
>>> Phil
>> 
>> Detlev Offenbach
>> detlev at die-offenbachs.de

Detlev Offenbach
detlev at die-offenbachs.de





More information about the QScintilla mailing list