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 (3)
Goto page Previous  1, 2, 3 ... 96, 97, 98, 99  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: 1919
Location: Poland

PostPosted: Sun Jun 12, 2016 7:58 pm    Post subject: Reply with quote

Infocatcher
Thank you very much.

Translator.js
Updated Russian translation.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1919
Location: Poland

PostPosted: Tue Jun 21, 2016 6:15 pm    Post subject: Reply with quote

FileInfo.js
Added:
- percentage statistics,
- sorting details by statistics.
Fixed:
- statistics for binary files.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1919
Location: Poland

PostPosted: Sat Jul 02, 2016 8:12 pm    Post subject: Reply with quote

Instructor
AkelEdit.h wrote:
//AEM_GETLINENUMBER flags
#define AEGL_LINECOUNT 0 //Total number of text lines. If the control has no text, the return value is 1.
#define AEGL_FIRSTSELLINE 1 //First line of the selection.
...
#define AEGI_LINEFROMRICHOFFSET 20 //Line of the specified RichEdit offset. lParam is RichEdit offset (if -1 caret offset). Equivalent to EM_EXLINEFROMCHAR.
#define AEGI_UNWRAPLINEFROMRICHOFFSET 21 //Unwrapped line of the specified RichEdit offset. lParam is RichEdit offset (if -1 caret offset).

Constant names AEGI_LINEFROMRICHOFFSET and AEGI_UNWRAPLINEFROMRICHOFFSET are a little misleading.
Back to top
View user's profile Send private message
Kley



Joined: 28 Mar 2015
Posts: 202
Location: Russia

PostPosted: Sun Jul 03, 2016 5:50 am    Post subject: Reply with quote

KDJ
LinesHideShow.js
Cool!
But, it's works better (for me Smile):

Code:
if ((nHide == 0) || (! sText))
{
  if (AkelPad.SendMessage(hEditWnd, 3406 /*AEM_GETFOLDCOUNT*/, 0 /*AEFC_ALL*/, 0))
  {
    AkelPad.SendMessage(hEditWnd, 3408 /*AEM_DELETEFOLD*/, 0 /*all*/, 0);

    if ( ! AkelPad.IsPluginRunning("Coder::CodeFold"))
      AkelPad.Call("Coder::CodeFold");

    AkelPad.SendMessage(hEditWnd, 3416 /*AEM_UPDATEFOLD*/, 0, nFirstVisLine);
  }
}
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1919
Location: Poland

PostPosted: Sun Jul 03, 2016 6:08 pm    Post subject: Reply with quote

LinesHideShow.js
Added: search with regular expressions.
Improved:
- now can hide the last line in document,
- if -hide=0 and Coder::CodeFold was previously running, it will be turned on.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 6223

PostPosted: Sun Jul 03, 2016 10:23 pm    Post subject: Reply with quote

KDJ wrote:
Constant names AEGI_LINEFROMRICHOFFSET and AEGI_UNWRAPLINEFROMRICHOFFSET are a little misleading.
Corrected, thanks.
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1919
Location: Poland

PostPosted: Thu Jul 07, 2016 7:51 pm    Post subject: Reply with quote

TabFont.js
Added: the height of tabs is adjusted to the height of characters (only in MDI mode, doesn't work in PMDI mode).
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1919
Location: Poland

PostPosted: Tue Jul 19, 2016 4:34 pm    Post subject: Reply with quote

AkelPadManualSettings.js
Added: flag 128 in "PaintOptions" - unit of vertical scrolling is line (default is pixel).
Updated for AkelPad ver. 4.9.8.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1919
Location: Poland

PostPosted: Wed Jul 20, 2016 10:51 am    Post subject: Reply with quote

TextReplace_function.js
TextReplace.js
Required: AkelPad 4.9.8 or later.
Added:
- service of bookmarks,
- counting in ranges.
- ReplaceWith function can return boolean value true/false (see description in TextReplace_function.js),
- option 'Disable "Undo"' for batch replace (less memory usage).
Changed:
- F1 key - show context menu if available (for edit controls and "Find" button),
- Ctrl+F1 - AkelHelp-*.htm.
Back to top
View user's profile Send private message
InFive



Joined: 10 Nov 2015
Posts: 77

PostPosted: Sun Jul 24, 2016 10:19 am    Post subject: Reply with quote

а что, получается, что нет никакого скрипта по ассоциации файлов с AkelPad? а то скрипт от Андрея Аверина не работает...
Back to top
View user's profile Send private message
YuS



Joined: 15 Sep 2013
Posts: 424

PostPosted: Mon Jul 25, 2016 3:18 pm    Post subject: Reply with quote

KDJ wrote:
TextReplace.js

Changed rus
Code:
  else if (AkelPad.GetLangId(0 /*LANGID_FULL*/) == 1049) //Russian
{
    ...
    sTxtLockUndo      = 'Выкл. "Отменить"';                  //new
    ...
    sTxtBookmarks     = 'Закладки';                       //new
    ...
    sTxtFindInBooks   = 'Найти в закладках';               //new
    ...
    sTxtCountInRange  = 'Посчитать в диапазоне';                  //new
    ...
    sTxtAreYouSure    = 'Вы уверены?';
    ...
    sTxtSaveDocs      = 'Все документы, подлежащие замене, необходимо сохранить!';     //new
    ...
  }
Back to top
View user's profile Send private message
VladSh



Joined: 29 Nov 2006
Posts: 3075
Location: Киев, Русь

PostPosted: Mon Jul 25, 2016 7:34 pm    Post subject: Reply with quote

InFive wrote:
а что, получается, что нет никакого скрипта по ассоциации файлов с AkelPad?
reassoc.js на WinXP и Win7 работал. Был какой-то небольшой косяк, но что конкретно не припомню.
Back to top
View user's profile Send private message Visit poster's website
InFive



Joined: 10 Nov 2015
Posts: 77

PostPosted: Mon Jul 25, 2016 8:01 pm    Post subject: Reply with quote

VladSh wrote:
reassoc.js на WinXP и Win7 работал
благодарю за напоминание, оказалось, что он есть уже у меня, как-то я загружал его но не использовал, поэтому забыл... буду разбираться...

проверил, вроде работает... была проблема после ассоциации, при открытии файла xml вылетала ошибка что мол не найден файл, хотя он уже открыт... пришлось в реестре удалить для расширения xml ветку ddeexeс и теперь корректно открывается всё...
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1919
Location: Poland

PostPosted: Tue Jul 26, 2016 7:01 pm    Post subject: Reply with quote

TextReplace.js
Updated Russian translation by YuS.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1919
Location: Poland

PostPosted: Sat Aug 06, 2016 12:21 pm    Post subject: Reply with quote

CalculatorBin.js
CalculatorJS.js
HtmlView.js
MapNetDrive.js
PDFtk-G.js
RunCommand.js
Translator.js
WindowsList.js
Fixed: does not work if the script is running from command line with Scripts plugin ver.18.5.
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 ... 96, 97, 98, 99  Next
Page 97 of 99

 
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