mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 01:57:57 +02:00
IDE: fix typo about ofDoNotActivateSourceEditor
This commit is contained in:
parent
cc813766cc
commit
4f0ec7cefa
@ -96,7 +96,7 @@ type
|
||||
ofLoadHiddenResource,// load component hidden
|
||||
ofAddToProject, // add file to project (if exists)
|
||||
ofInternalFile, // opening data from an internal source (e.g. an editor macro (pascal script) from memory)
|
||||
ofDoNotActiveSourceEditor // do not active the source editor window
|
||||
ofDoNotActivateSourceEditor // do not active the source editor window
|
||||
);
|
||||
TOpenFlags = set of TOpenFlag;
|
||||
|
||||
|
@ -9897,7 +9897,7 @@ begin
|
||||
continue;
|
||||
|
||||
//DebugLn(['TMainIDE.OnBeforeCodeToolBossApplyChanges i=',i,' ',CodeBUf.Filename]);
|
||||
Flags:=[ofOnlyIfExists,ofDoNotLoadResource,ofRegularFile,ofDoNotActiveSourceEditor];
|
||||
Flags:=[ofOnlyIfExists,ofDoNotLoadResource,ofRegularFile,ofDoNotActivateSourceEditor];
|
||||
if CodeBuf.IsVirtual then
|
||||
Include(Flags,ofVirtualFile);
|
||||
if DoOpenEditorFile(Manager.SourceChangeCache.BuffersToModify[i].Filename,
|
||||
|
@ -1320,7 +1320,7 @@ begin
|
||||
|
||||
if (FNewEditorInfo <> nil) and (FFlags * [ofProjectLoading, ofRevert] = [])
|
||||
and (FNewEditorInfo.EditorComponent <> nil) then begin
|
||||
if not (ofDoNotActiveSourceEditor in FFLags) then
|
||||
if not (ofDoNotActivateSourceEditor in FFLags) then
|
||||
SourceEditorManager.ShowActiveWindowOnTop(True);
|
||||
exit(ChangeEditorPage);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user