[Konsole-devel] [Bug 116351] Saving the history of konsole sometimes results in a history file, which is incomplete

Stephan Binner binner at kde.org
Tue Feb 7 13:10:58 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=116351         
binner kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From binner kde org  2006-02-07 14:10 -------
SVN commit 506665 by binner:

Fix "Saving history sometimes results in incomplete file"
BUG: 116351


 M  +2 -1      TEScreen.cpp  


--- branches/KDE/3.5/kdebase/konsole/konsole/TEScreen.cpp #506664:506665
 @ -1469,8 +1469,9  @
   sel_begin = 0;
   sel_BR = sel_begin;
   sel_TL = sel_begin;
-  setSelExtentXY(columns-1,lines-1);
+  setSelExtentXY(columns-1,lines-1+hist->getLines()-histCursor);
   getSelText(true, stream);
+  clearSelection();
 }
 
 QString TEScreen::getHistoryLine(int no)



More information about the konsole-devel mailing list