mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 07:29:34 +02:00
IDE: fixed showing find results of find identifer references, when the same Identifier searched
git-svn-id: trunk@14802 -
This commit is contained in:
parent
9ed9aa3295
commit
a239a91f28
@ -207,7 +207,7 @@ begin
|
||||
// list results
|
||||
SearchResultsView.BeginUpdate(SearchPageIndex);
|
||||
AddReferencesToResultView(DeclarationCode,DeclarationCaretXY,
|
||||
DeclarationCode,TreeOfPCodeXYPosition,false,SearchPageIndex);
|
||||
DeclarationCode,TreeOfPCodeXYPosition,true,SearchPageIndex);
|
||||
OldSearchPageIndex:=SearchPageIndex;
|
||||
SearchPageIndex:=-1;
|
||||
SearchResultsView.EndUpdate(OldSearchPageIndex);
|
||||
|
@ -152,6 +152,8 @@ type
|
||||
procedure bnFilterClick (Sender: TObject );
|
||||
private
|
||||
FMaxItems: integer;
|
||||
FOnSelectionChanged: TNotifyEvent; fListBoxFont: TFont;
|
||||
FMouseOverIndex: integer;
|
||||
function BeautifyPageName(const APageName: string): string;
|
||||
function PageExists(const APageName: string): boolean;
|
||||
function GetPageIndex(const APageName: string): integer;
|
||||
@ -160,8 +162,6 @@ type
|
||||
procedure ListBoxDoubleClicked(Sender: TObject);
|
||||
procedure SetItems(Index: Integer; Value: TStrings);
|
||||
function GetItems(Index: integer): TStrings;
|
||||
fOnSelectionChanged: TNotifyEvent; fListBoxFont: TFont;
|
||||
fMouseOverIndex: integer;
|
||||
procedure SetMaxItems(const AValue: integer);
|
||||
public
|
||||
function AddSearch(const ResultsName: string;
|
||||
|
Loading…
Reference in New Issue
Block a user