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 ... 31, 32, 33 ... 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
KDJ



Joined: 06 Mar 2010
Posts: 1411
Location: Poland

PostPosted: Mon Apr 30, 2012 5:37 pm    Post subject: Reply with quote

F. Phoenix
You can temporarily disable WordWrap:
Code:
var nWordWrap = AkelPad.SendMessage(AkelPad.GetEditWnd(), 3241 /*AEM_GETWORDWRAP*/, 0, 0);
if (nWordWrap > 0) AkelPad.Command(4209 /*IDM_VIEW_WORDWRAP*/);
var cur = AkelPad.SendMessage(AkelPad.GetEditWnd(), 187 /*EM_LINEINDEX*/, line - 1, 0);
AkelPad.SetSel(cur, cur);
if (nWordWrap > 0) AkelPad.Command(4209 /*IDM_VIEW_WORDWRAP*/);
Back to top
View user's profile Send private message
F. Phoenix



Joined: 24 Dec 2011
Posts: 124

PostPosted: Mon Apr 30, 2012 5:45 pm    Post subject: Reply with quote

Infocatcher, ага, спасиб.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1411
Location: Poland

PostPosted: Mon Apr 30, 2012 6:12 pm    Post subject: Reply with quote

Updated FileAndStream_2052.lng by cnnnc.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1411
Location: Poland

PostPosted: Tue May 01, 2012 4:49 pm    Post subject: Reply with quote

InputBox_function.js
Added:
argument nFocus - index of vEdit array item, on which will set keyboard focus.
Changed:
if will pressed OK button, return value is:
- array of strings - if vEdit is array (also empty array),
- string - otherwise.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1411
Location: Poland

PostPosted: Tue May 01, 2012 5:06 pm    Post subject: Reply with quote

Scripts-Eng.txt wrote:
AkelPad.ThreadHook
...
The maximum number of installed hooks at the same time is 4.
Whether in the case of the following methods:
AkelPad.SystemFunction().RegisterCallback
AkelPad.WindowRegisterClass
AkelPad.WindowSubClass
there is a limit on the number of registered functions at the same time?
Back to top
View user's profile Send private message
Infocatcher



Joined: 06 Aug 2007
Posts: 1639

PostPosted: Sat May 05, 2012 9:54 am    Post subject: Reply with quote

measuresConverter.js
http://exchange-rates.org/converter/EEK/USD/1/N n/a now, will use http://www.google.com/ig/calculator?hl=en&q=1EEK%3D%3FUSD
Added caching of calculations result.
Improved error reporting.
Back to top
View user's profile Send private message Visit poster's website
KDJ



Joined: 06 Mar 2010
Posts: 1411
Location: Poland

PostPosted: Sat May 05, 2012 12:17 pm    Post subject: Reply with quote

FileAndStream.js

Added:
- favorite applications (menu - "Applications" and "Run", context menu - "Open in favorite").
- displayed name in menu for external applications (viewer, editor, comparer),
- option "Special folders" in menu "Directory".
Changed *.lng files.
Fixed bug in swap panels.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5454

PostPosted: Sat May 05, 2012 3:26 pm    Post subject: Reply with quote

KDJ
AkelPad.SystemFunction().RegisterCallback - the maximum number of working callback functions at the same time is 4.

AkelPad.WindowRegisterClass - without limit.
AkelPad.WindowSubClass - without limit.
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1411
Location: Poland

PostPosted: Sat May 05, 2012 5:55 pm    Post subject: Reply with quote

Instructor
Thank you very much for your response. This is important information. Can you add this in Scripts-Eng.txt.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5454

PostPosted: Sat May 05, 2012 6:10 pm    Post subject: Reply with quote

KDJ
Already is.
Back to top
View user's profile Send private message Send e-mail
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5454

PostPosted: Sun May 06, 2012 12:59 pm    Post subject: Reply with quote

KDJ
FileAndStream.js

LVM_DELETEALLITEMS, LVM_INSERTITEM processed much faster if you turn off control repaining with WM_SETREDRAW: code
Code:
function FillFileList(nPan, sSelFile, nSelPos, bCheckFilter)
{
  ...
  var bResult;

  AkelPad.SendMessage(aWnd[IDFILELV0 + nPan][HWND], 0xB /*WM_SETREDRAW*/, false, 0);
  if (hFindFile != -1) //INVALID_HANDLE_VALUE
  {
    ...
    AkelPad.MemFree(lpTimeStr);
    bResult = true;
  }

  else
  {
    if (aCurDir[nPan][aCurDrive[nPan]].Path.length == 3)
    {
      ...
      bResult = true;
    }
    else
      bResult = false;
  }
  AkelPad.SendMessage(aWnd[IDFILELV0 + nPan][HWND], 0xB /*WM_SETREDRAW*/, true, 0);
  return bResult;
}
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1411
Location: Poland

PostPosted: Sun May 06, 2012 2:45 pm    Post subject: Reply with quote

Instructor
Oh, indeed. Thank you very much.
I'll do it in the next version of the script.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1411
Location: Poland

PostPosted: Sun May 06, 2012 3:32 pm    Post subject: Reply with quote

InputBox_function.js
Added: argument sFunction - name of the function used to validate entered data.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1411
Location: Poland

PostPosted: Sun May 06, 2012 7:36 pm    Post subject: Reply with quote

FileAndStream.js

Changed: uses new version InputBox_function.js.
Fixed: refresh speed of the files list.
Back to top
View user's profile Send private message
Infocatcher



Joined: 06 Aug 2007
Posts: 1639

PostPosted: Mon May 07, 2012 9:07 pm    Post subject: Reply with quote

CodePoster_mod.js
Changed: used <strong> and <em> in XHTML mode.
Improved: don't get output twice. Wink
Improved: tries merge sibling regions with same formatting.

P.S. А еще в оригинальном скрипте не хватает экспорта пользовательских пометок.
Back to top
View user's profile Send private message Visit poster's website
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 ... 31, 32, 33 ... 94, 95, 96  Next
Page 32 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