[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: MovingCursor + Ranges, Features
From:       Michel Ludwig <michel.ludwig () gmail ! com>
Date:       2010-04-21 8:31:50
Message-ID: 201004210931.51056.michel.ludwig () gmail ! com
[Download RAW message or body]

On Wednesday 21 April 2010 09:17:44 Christoph Cullmann wrote:
> I think about implementing caret and mouse enter, but first must look, if
> that really is efficient, atm I did already part of that, for internal dynamic
> hl. At the moment looks still quiet efficient, even with document were you
> have 20k ranges ;)

Wow, that's cool :-)

> rangeDeleted and rangeEliminated are not that needed, I think, as they were
> only workarounds that the smart ranges got deleted behind our back, that
> doesn't happen for moving ranges.

As far as I see it, 'rangeEliminated' is useful in the following setting: 
Suppose that a piece of text contains a misspelled word. The spell checking 
module will then put a moving range on this part of the text to flag it as 
being misspelled. But now the user deletes some text which contains the 
misspelled range and that range now becomes empty (invalid). The spell 
checking module should then be informed about that so that it can delete the 
range.

> Any other wishs? What I would rather not like to implement is 
> rangeContentsChanged and so on, as then for each edit I need to take care 
> which ranges are affected, which I don't want to do really ;)

Nope, that's not required from my side :-)


Michel

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic