AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scripts discussion (2)
Goto page Previous  1, 2, 3 ... 66, 67, 68 ... 94, 95, 96  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    AkelPad Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
kadvlad



Joined: 16 Mar 2008
Posts: 26

PostPosted: Fri Jan 18, 2013 6:40 pm    Post subject: Reply with quote

VladSh
ясно, спасибо.

Будем ждать и надеяться..
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1323
Location: Poland

PostPosted: Wed Jan 23, 2013 7:39 pm    Post subject: Reply with quote

FindReplaceEx.js
Added: Regular expressions collection.
Back to top
View user's profile Send private message
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Thu Jan 24, 2013 4:42 am    Post subject: a suggestion to ScreenView.js Reply with quote

Hi, KDJ

I like the function ChangeCoderTheme in ScreenView.js to be modified into
Code:
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();
    }
  }
}
, then I can disabled the function "Coder::HighLight" when I uncheck IDCODERTHEME.
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1323
Location: Poland

PostPosted: Thu Jan 24, 2013 9:38 pm    Post subject: Reply with quote

cnnnc
And also, it seems to me that ColorCoderTheme button should be in three states:
checked - change Coder Theme,
unchecked - disable HighLight,
grayed - not change.
Back to top
View user's profile Send private message
F. Phoenix



Joined: 24 Dec 2011
Posts: 124

PostPosted: Fri Jan 25, 2013 2:35 am    Post subject: Reply with quote

KDJ, could you extend current or write any additional tester for build-in AkelPad RegExp? It different, and last is much difficult cause weak, but it's required for some tasks like Coder syntax definition.
Back to top
View user's profile Send private message
Infocatcher



Joined: 06 Aug 2007
Posts: 1591

PostPosted: Fri Jan 25, 2013 6:11 am    Post subject: Reply with quote

ChooseColor.js с поддержкой именованных цветов:
https://gist.github.com/4632145/revisions
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1323
Location: Poland

PostPosted: Fri Jan 25, 2013 8:30 am    Post subject: Reply with quote

F. Phoenix
Build-in AkelPad regular expressions can be tested by "Find/Replace" dialog.
Back to top
View user's profile Send private message
F. Phoenix



Joined: 24 Dec 2011
Posts: 124

PostPosted: Fri Jan 25, 2013 9:52 am    Post subject: Reply with quote

I know, but it's uncomfortable for test group values.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1323
Location: Poland

PostPosted: Fri Jan 25, 2013 7:45 pm    Post subject: Reply with quote

ScreenView.js
Changed: now ColorCoderTheme check box can have three states and you can turn off syntax highlighting.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1323
Location: Poland

PostPosted: Sat Jan 26, 2013 7:48 pm    Post subject: Reply with quote

F. Phoenix wrote:
I know, but it's uncomfortable for test group values.

I don't know how the tester should work? Do you have a project?
Back to top
View user's profile Send private message
F. Phoenix



Joined: 24 Dec 2011
Posts: 124

PostPosted: Sat Jan 26, 2013 8:36 pm    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1323
Location: Poland

PostPosted: Tue Jan 29, 2013 6:47 pm    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
Infocatcher



Joined: 06 Aug 2007
Posts: 1591

PostPosted: Sat Feb 02, 2013 4:03 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1323
Location: Poland

PostPosted: Tue Feb 05, 2013 6:11 pm    Post subject: Reply with quote

FindReplaceEx.js
Added: help for regular expressions (F1).
Changed: hot key for Templates now is F2.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1323
Location: Poland

PostPosted: Wed Feb 06, 2013 8:44 pm    Post subject: Reply with quote

FindReplaceEx.js
Added: possibility to translate the interface.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    AkelPad Forum Index -> Plugins All times are GMT
Goto page Previous  1, 2, 3 ... 66, 67, 68 ... 94, 95, 96  Next
Page 67 of 96

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group