mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 16:31:40 +02:00
IDE: open files changed by codetools: do not open project
git-svn-id: trunk@39978 -
This commit is contained in:
parent
c084859d66
commit
45267c6fbc
@ -299,7 +299,7 @@ begin
|
||||
CodeToolBoss.GetIdentifierAt(DeclarationCode,
|
||||
DeclarationCaretXY.X,DeclarationCaretXY.Y,Identifier);
|
||||
// create a search result page
|
||||
debugln(['ShowIdentifierReferences ',DbgSName(SearchResultsView)]);
|
||||
//debugln(['ShowIdentifierReferences ',DbgSName(SearchResultsView)]);
|
||||
SearchPageIndex:=SearchResultsView.AddSearch(
|
||||
'References of '+Identifier,
|
||||
Identifier,
|
||||
|
@ -9984,7 +9984,7 @@ begin
|
||||
continue;
|
||||
|
||||
//DebugLn(['TMainIDE.OnBeforeCodeToolBossApplyChanges i=',i,' ',CodeBUf.Filename]);
|
||||
Flags:=[ofOnlyIfExists,ofDoNotLoadResource];
|
||||
Flags:=[ofOnlyIfExists,ofDoNotLoadResource,ofRegularFile];
|
||||
if CodeBuf.IsVirtual then
|
||||
Include(Flags,ofVirtualFile);
|
||||
if DoOpenEditorFile(Manager.SourceChangeCache.BuffersToModify[i].Filename,
|
||||
|
Loading…
Reference in New Issue
Block a user