[lazarus] Search results windows patch
bwingard at gt.rr.com
Sat Nov 8 16:28:40 EST 2003
Patch to move the search functions for find in files to a dialog box
with a cancel button. The search now returns all matches within a file.
Be careful the TStrings implementation used by the listbox control gets
really slow when there are more than a couple thousand matches. I tried
it with the TSynMemo and the TStrings implementation is much faster when
it has a large number of strings. I did a regex search for ^procedure
and the Tsynmemo handled the 13k matches without a problem. Do not try
this with the Tlistbox Tstrings.
On Fri, 2003-11-07 at 22:43, Jason King wrote:
> (and its probably got my earlier patch in it too , sorry about that)
> this implements the search results window. If you do "Find in Files" ,
> "search all open files" you will get a list of search results for your
> text. It only lists the first result in each file , not all of them so
> far. clicking on the entry in the search result window jumps to that
> line in the file.
> no doubt needs more work to make it less annoying , but its a start I
> guess. Still need to do notebook for several results , and search again
> searchresultview.pp is a blatent copy of messageview.pp
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12300 bytes
Url : http://localhost/pipermail/lazarus/attachments/20031108/566ce662/zip00042.obj
More information about the Lazarus