[lazarus] findinfilesdlg.pas, uniteditor.pp patches

Bob Wingard bwingard at gt.rr.com
Mon Aug 4 19:54:54 EDT 2003


findinfilesdlg.pas - add Options as a set of  TLazFindInFileSearchOption 
with a couple of functions and procedures for getting and setting these 
options.

uniteditor.pp - used new options in the code that calls the search 
functions.

Mattias,
    What I would like to do now is take a look the MessageView dialog. I 
think it should have a TNoteBook so that the user does not loose his (or 
her) messages when a search is done. My thought is that we can add a new 
tab to the form each time a search is completed, the TNoteBook pages 
would show a close buttons and if the user clickes on the close button 
the notebook would close as long as it was not the first Tab, the first 
tab would just hide the form. The first Tab would be where compiler and 
syntax messages would be reported.
maybe somthing like:

function MessageView.AddSearchTab('Tab Title'): TListBox;  //Some day 
maybe TSynEdit

By returning the ListBox we could do an Assign instead of looping 
through and adding each string, should be faster.

Then we could assign a different procedure to the Selection Change event 
or Double Click Event Than the current do jump to compiler message 
procedure.

Let me know what you think.

Bob


-------------- next part --------------
A non-text attachment was scrubbed...
Name: zip00026.zip
Type: application/octet-stream
Size: 1497 bytes
Desc: "findinfiles.zip"
Url : http://localhost/pipermail/lazarus/attachments/20030804/c3e7d2ad/zip00026.obj


More information about the Lazarus mailing list