IDE: open files changed by codetools: do not open project

git-svn-id: trunk@39978 -
This commit is contained in:
mattias 2013-01-27 11:53:19 +00:00
parent c084859d66
commit 45267c6fbc
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,