Added doc focus on creation

This commit is contained in:
Basile Burg 2015-01-19 06:26:14 +01:00
parent 99973d73b9
commit 64a852bb60
1 changed files with 2 additions and 0 deletions

View File

@ -1083,6 +1083,7 @@ end;
procedure TCEMainForm.actFileNewExecute(Sender: TObject);
begin
newFile;
fDoc.setFocus;
end;
procedure TCEMainForm.actFileNewRunExecute(Sender: TObject);
@ -1099,6 +1100,7 @@ begin
' // phobos and libman imports are allowed' + LineEnding +
' writeln("hello runnable module");' + LineEnding +
'}';
fDoc.setFocus;
end;
procedure TCEMainForm.actFileSaveAsExecute(Sender: TObject);