mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 18:19:34 +02:00
IDE: fix typo about ofDoNotActivateSourceEditor
This commit is contained in:
parent
6ad0de5b5d
commit
2b2754ab98
@ -97,7 +97,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;
|
||||
|
||||
|
@ -9865,7 +9865,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,
|
||||
|
@ -1319,7 +1319,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