InputText: Improved formula/section variables support in options.

- Added formula support for InputText measure option: X, Y, W, H, FontSize
- Added formula/section variables support for inline CommandN option. The formula support is same as above options.
This commit is contained in:
spx
2013-03-07 01:36:27 +09:00
parent 7f8e739ae6
commit c5df90bbee
2 changed files with 91 additions and 63 deletions

View File

@ -111,6 +111,7 @@ namespace InputText
ExecuteBatch
};
internal Dictionary<string, string> Options;
internal List<Dictionary<string, string>> OverrideOptions;
internal List<string> Commands;
internal string Command;
internal BangType Type;
@ -118,6 +119,7 @@ namespace InputText
internal ExecuteBangParam(string args)
{
this.Options = new Dictionary<string, string>();
this.OverrideOptions = new List<Dictionary<string, string>>();
this.Commands = new List<string>();
this.Command = args.Trim();
this.Type = BangType.Unknown;