[PATCH, BIC?] KTextEditor: add invalidate() to Range and Cursor

Matthew Woehlke mw_triad at users.sourceforge.net
Tue May 8 20:17:14 BST 2007

(CC k-c-d since this is also a post-soft-freeze kdelibs change)
Matthew Woehlke wrote:
> I'm starting to port my selection changes to /trunk and noticed that, 
> while we now have nice ranges, we still have things like this:
>   m_selectionCached.start().setLine( -1 ); // invalidate
> Would it be OK to add an invalidate() method as per the attached patch? 
> (I think this is a BIC, i.e. will wait for Monday to check in. It is SC 
> however since it only adds things.)

(patch can be found on kwrite-devel or gmane's archive at 

"Please remain calm... I may be mad, but I am a professional."
   -- Mad Scientist

More information about the kde-core-devel mailing list