Funky Beast schreef:
Vincent Snijders wrote:
Funky Beast schreef:
Vincent Snijders wrote:
Mattias Gaertner wrote:
On Tue, 08 Aug 2006 00:26:34 +0800
Funky Beast <[EMAIL PROTECTED]> wrote:
FinInFilesDlg:
Enable AutoComplete feature for TextToFindComboBox
and ReplaceTextComboBox.
DirectoryBrowseClick initializes InitialDir to DirectoryComboBox.Text
if its a valid path, else initialize with the usual GetCurrentDir.
*********************************************************************
SearchResultsView:
Added: Phrase/s search and filter functions for result list.
Searching or filtering search results that contain one or more
phrase.
(the hint in the editbox gives short description of how to add
multiple
phrases)
TLazSearchResultLB:
Added: BackupStrings stringlist to backup search results so that they
can be restored after filtering.
Added property SearchInListPhrases string for storing phrases for
each
result list.
Applied. Thanks.
This patch causes issue 7256:
http://www.freepascal.org/mantis/view.php?id=7256
Mattias, does this occur in linux too? Or only when compiled with
heaptrc for extra heap checking. It seems like double freeing of the
list item objects.
Vincent
Sorry about that, guess i was over paranoid about memory leak.
Had a look in stack trace and saw the exception in searchresultview.pp.
But it was handled in linux.
At least on windows, probably on linux too, it had this nasty side
effect: If you closed Lazarus, without having saved your project, you
were not prompted to save your changes.
Vincent
On linux, after some search in files operations and change some code on
a unit, then exit Lazarus, Lazarus prompted me to save my projects.
I'll dig further.
I think the missing prompt was because the close down of Lazarus was halted by the
AV. But maybe I don't remember it well enough.
I propose you look at fixing the memleak, without freeing memory twice.
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives