Skip to content
  • Robert Knight's avatar
    BUG: 159096 ('Find Next' does not always move to correct line) · ac26bd47
    Robert Knight authored
    Squashed commit of the following:
    
    commit 17bd4aee3b20b3d36e0891dfd516d986430133c2
    Author: Robert Knight <robertknight@gmail.com>
    Date:   Sun Mar 30 03:39:07 2008 +0100
    
        Use a list of integers rather than a bitmap to record the character positions of new lines.  This allows for empty lines in the buffer which means that multiple lines may start at the same character position.
    
    commit d8ee8002f6ee87257f70f94e1a77a44f668617d9
    Author: Robert Knight <robertknight@gmail.com>
    Date:   Sun Mar 30 03:22:24 2008 +0100
    
        Compute the line index of a match found during output search more accurately.  Add a method to record the positions of new lines within the output stream to TerminalCharacterDecoder and use that in SearchHistoryTask to count the number of lines offset from the start of the current block.  Unlike the previous method this works when there are wrapped lines in the output.
    
    svn path=/trunk/KDE/kdebase/apps/konsole/; revision=791703
    ac26bd47