public Completion(PluginCore.Helpers.SimpleIni config, Settings settings) { this.settings = settings; lang = ScintillaControl.Configuration.GetLanguage("css"); InitProperties(GetSection(config, "Properties")); InitLists(GetSection(config, "Lists")); }
private Dictionary <string, string> GetSection(PluginCore.Helpers.SimpleIni config, string name) { foreach (var def in config) { if (def.Key == name) { return(def.Value); } } return(null); }