1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 14:54:09 +02:00

Fixed issues with multi-window editing

This commit is contained in:
Brian Fiete 2020-05-20 06:44:21 -07:00
parent 387ba470d4
commit cce45dbc15
3 changed files with 49 additions and 11 deletions

View file

@ -105,7 +105,8 @@ namespace IDE
{
None = 0,
MainWindow = 1,
Editor = 2,
WorkWindow = 2,
Editor = 4,
}
public String mName ~ delete _;
@ -159,7 +160,7 @@ namespace IDE
};
public CommandMap mKeyMap = new .() ~ delete _;
void Add(StringView name, Action act, IDECommand.ContextFlags contextFlags = .MainWindow)
void Add(StringView name, Action act, IDECommand.ContextFlags contextFlags = .WorkWindow)
{
let cmd = new IDECommand();
cmd.mName = new String(name);