Scripts discussion (2)
- Author
- Message
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
FindReplaceEx.js
Added: Regular expressions collection.
Added: Regular expressions collection.
-
Offline
- Posts: 119
- Joined: Sat Jan 12, 2008 10:16 am
- Location: Shantou, China
a suggestion to ScreenView.js
Hi, KDJ
I like the function ChangeCoderTheme in ScreenView.js to be modified into, then I can disabled the function "Coder::HighLight" when I uncheck IDCODERTHEME.
I like the function ChangeCoderTheme in ScreenView.js to be modified into
Code: Select all
function ChangeCoderTheme(sViewName)
{
if (IsPluginExists(oPlug.CoderTheme.Name))
{
if (oView[sViewName].CoderTheme)
{
if (! oPlug.CoderTheme.IsRunning())
oPlug.CoderTheme.Switch();
AkelPad.Call("Coder::Settings", 5, oView[sViewName].CoderThemeName);
}
else
{
if (oPlug.CoderTheme.IsRunning())
oPlug.CoderTheme.Switch();
}
}
}
-
Offline
- Posts: 1862
- Joined: Mon Aug 06, 2007 1:07 pm
- Contact:
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
ScreenView.js
Changed: now ColorCoderTheme check box can have three states and you can turn off syntax highlighting.
Changed: now ColorCoderTheme check box can have three states and you can turn off syntax highlighting.
-
Offline
- Posts: 176
- Joined: Sat Dec 24, 2011 4:05 pm
No, just a though, that script can use some dummy document and AkelPad.Replace() plugin function, if there no better exports exists. With replace pattern like "$0\n$1\n$2\n$3\n$4\n$5\n$6\n$7\n$8\n$9\n$10..." But may be it's a possible to call some AkelEdit func through WSH - I badly understand this calls and interaction (as whole WinAPI).
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
FindReplaceEx.js
Changed:
- instead "Regular expressions collection" is "Find/Replace templates" (increased functionality),
- Find/Replace templates is saved in file FindReplaceEx_templates.tsv (you must manually change the file name FindReplaceEx_REC.tsv to FindReplaceEx_templates.tsv).
Changed:
- instead "Regular expressions collection" is "Find/Replace templates" (increased functionality),
- Find/Replace templates is saved in file FindReplaceEx_templates.tsv (you must manually change the file name FindReplaceEx_REC.tsv to FindReplaceEx_templates.tsv).
-
Offline
- Posts: 1862
- Joined: Mon Aug 06, 2007 1:07 pm
- Contact:
jsBeautifier.js
New features:
Add -unescapeStrings argument
Updated scripts from http://jsbeautifier.org/:
beuatify-css: don't break media rules (whitespace before "(")
beautify-html: fix "unformatted" variable leak
p.acker: support multiple chunks of packed data
Fix negative numbers in lists
HTML assumed end tags are in lowercase
Fix 161, unneeded indents inside object definition
Format HTML5 block level links
Make beautifer strict-safe
Fix strings starting after a comment
fix #168 beautify css breaks non string data-urls
Improved unescape when opt.unescape_strings = true
Stops keep_array_indentation from overwriting tabs with spaces
New features:
Add -unescapeStrings argument
Updated scripts from http://jsbeautifier.org/:
beuatify-css: don't break media rules (whitespace before "(")
beautify-html: fix "unformatted" variable leak
p.acker: support multiple chunks of packed data
Fix negative numbers in lists
HTML assumed end tags are in lowercase
Fix 161, unneeded indents inside object definition
Format HTML5 block level links
Make beautifer strict-safe
Fix strings starting after a comment
fix #168 beautify css breaks non string data-urls
Improved unescape when opt.unescape_strings = true
Stops keep_array_indentation from overwriting tabs with spaces
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
FindReplaceEx.js
Added: help for regular expressions (F1).
Changed: hot key for Templates now is F2.
Added: help for regular expressions (F1).
Changed: hot key for Templates now is F2.
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
FindReplaceEx.js
Added: possibility to translate the interface.
Added: possibility to translate the interface.