1)To make custom user regex functioning. Is that possible? The other solution would be to put it into advanced plugin settings.
EDIT: I have also found that instead of writing:
2) When user saves (hits OK) advanced plug-in setting would call some callback function with user settings instead of just saving it
3) To implement all HTML FORM elements such as select, option etc. to advanced plugin settings
4) To logically separate *.js file and *.dll with separate updating etc.
Hopefully it is not toooo complicated to implement the requests
EDIT: I have also found that instead of writing:
Quote
regexstr="^gcal (.*?)=$";we can use
scriptregex=/^gcal (.*?)=$/;
Quote
regexstr="^gcal (.*?)=$";EDIT: and further writing
scriptregex = new RegExp(regexstr);
Quote
aliasstr="gcal";user can set his own custom alias + regex but only the first part of it. So it can be also solution, but it is not the best...
pre_regexstr="^gcal ";
post_regexstr="(.*?)=$";
regexstr=pre_regexstr+post_regexstr;
scriptregex = new RegExp("^.*? "+post_regexstr);
2) When user saves (hits OK) advanced plug-in setting would call some callback function with user settings instead of just saving it
3) To implement all HTML FORM elements such as select, option etc. to advanced plugin settings
4) To logically separate *.js file and *.dll with separate updating etc.
Hopefully it is not toooo complicated to implement the requests







