Feb. 3, 2009
8:49 p.m.
Greetings. I 'spotted' a TODO on searching 'backwards' and decided to have a go at it. Basically, I implemented the Search Previous feature. I must say I have difficulties understanding the code behind FindtextState::search0(), so I did not base my code on it at all. Sure it could possibly be optimized, but it seems to do the job for now, I haven't found any bugs, if you find any, please do say. Additionally, I did not set any hotkeys for the search-previous action, maybe something like SHIFT+RETURN, since RETURN handles searching forwards? Also, I did not add any tests, and I only altered a line to make them compilable, but I might add some tests soon. Thanks, Jo?o
6504
Age (days ago)
6510
Last active (days ago)
10 comments
4 participants
participants (4)
-
corvid@lavabit.com -
jcid@dillo.org -
Johannes.Hofmann@gmx.de -
jorl17.8@gmail.com