Revision 816020

Go back to digest for 8th June 2008

Bug Fixes in KDE Base

Hamish Rodda committed changes in /trunk/KDE/kdelibs/kate:

Fix corner case which manifested as follows:
* Create a zero length smart range with DoNotExpand as the insert behaviour
* Insert something at that position
* The start cursor would move but the end cursor would stay still

After a while thinking about this, I decided the range should move to the end of the insert; it's not being expanded, and the text was being inserted at that position (moving everything else after it)

File Changes

Modified 4 files
  • /trunk/KDE/kdelibs/kate
  •   /smart/katesmartcursor.cpp
  •   /smart/katesmartcursor.h
  •   /tests/kateregression.cpp
  •   /tests/kateregression.h
4 files changed in total