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 ... , 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: 1395
Location: Poland

PostPosted: Sat Apr 12, 2014 10:17 pm    Post subject: Reply with quote

Updated for AkelPad 4.8.8:
BrowseForFolder_function.js
ChooseFont_function.js
EnumerateWindows_functions.js
InputBox_function.js
FileAndStream.js
InsertFolderName.js
SendData.js
Translator.js
WindowsList.js

Instructor
FileAndStream.js and Translator.js does not work.
It seems to me that a bug is in AkelPad.WindowSubClass() method.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5399

PostPosted: Sun Apr 13, 2014 6:19 am    Post subject: Reply with quote

KDJ
Scripts plugin v14.6
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1395
Location: Poland

PostPosted: Sun Apr 13, 2014 10:40 am    Post subject: Reply with quote

FindFiles.js renamed to FindReplaceFiles.js.
Added:
- replace files content,
- skip files with attribute "Read-only", "Hidden", "System",
- filter for names of NTFS streams.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5399

PostPosted: Sun Apr 13, 2014 6:56 pm    Post subject: Reply with quote

FeyFre
History.js. Запускаю скрипт из диалога Scripts, мелькает окошко и тут же исчезает. При удалении History.ini результат тот же. WinXP x86.
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1395
Location: Poland

PostPosted: Sun Apr 13, 2014 8:46 pm    Post subject: Reply with quote

AkelPadManualSettings.js
Added parameters "EditStyle" and "SingleOpenProgram".
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1395
Location: Poland

PostPosted: Mon Apr 14, 2014 6:45 pm    Post subject: Reply with quote

FindReplaceEx.js for AkelPad 4.8.8.
Added: checkbox '"Replace all" without message' in Replace dialog.
Updated: RegExp help.
Back to top
View user's profile Send private message
Cuprum



Joined: 28 Sep 2011
Posts: 213

PostPosted: Mon Apr 14, 2014 7:34 pm    Post subject: Reply with quote

Infocatcher
Просьба добавить в toggleComments.js поддержку less-файлов.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1395
Location: Poland

PostPosted: Mon Apr 14, 2014 8:29 pm    Post subject: Reply with quote

Updated for AkelPad 4.8.8 (size of AESELECTION structure was changed):
ColumnsDuplicateSelect.js
ColumnsReplace.js
SelectionSwitchCaretMove.js
SelectRangeText.js
SortInColumns.js
SortLines.js
TextMove.js
Back to top
View user's profile Send private message
Infocatcher



Joined: 06 Aug 2007
Posts: 1629

PostPosted: Tue Apr 15, 2014 12:02 pm    Post subject: Reply with quote

Cuprum wrote:
Просьба добавить в toggleComments.js поддержку less-файлов.
http://lesscss.org/features/#features-overview-feature-comments ?
Добавил.
Но на будущее это все лучше сразу указывать.
Back to top
View user's profile Send private message Visit poster's website
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5399

PostPosted: Tue Apr 15, 2014 2:32 pm    Post subject: Reply with quote

Infocatcher
И мне Smile То с чем приходится работать:
Code:
   1s: [ null, null, ["//"] ],
   1c:  "1s",
   nsi: [ null, null, [";", "#"] ],
Back to top
View user's profile Send private message Send e-mail
Skif_off



Joined: 20 Oct 2013
Posts: 366

PostPosted: Tue Apr 15, 2014 2:57 pm    Post subject: Reply with quote

Infocatcher, заодно Smile
Code:
au3: [ null, null, [";"] ],

Правда, есть еще блочные, но с ними неприятность небольшая:
Quote:
Директивы #comments-start и #comments-end могут быть вложенными.
Можно также использовать сокращения #cs и #ce.
В дополнение, сами директивы также могут быть закомментированы!
Back to top
View user's profile Send private message
Infocatcher



Joined: 06 Aug 2007
Posts: 1629

PostPosted: Tue Apr 15, 2014 3:09 pm    Post subject: Reply with quote

Instructor
Готово.


Skif_off
Ммм... а есть пример вложенности?
А с
Code:
;;; #cs
MsgBox(4096, "", "Это сообщение выводится только, если '#cs' закомментировано.")
;;; #ce
проблем быть не должно, такое много где можно.

Upd
Зря не проверил, ругалось на свойства с цифрами в начале имени.


И проблема уже есть, оказывается:
Code:
// /*
alert(1);
// */
Будет пытаться раскомментировать /* ... */.
Back to top
View user's profile Send private message Visit poster's website
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5399

PostPosted: Tue Apr 15, 2014 3:32 pm    Post subject: Reply with quote

Infocatcher
Что-то у меня ругается. Похоже имя элемента массива не может начинаться с цифры.
Back to top
View user's profile Send private message Send e-mail
Infocatcher



Joined: 06 Aug 2007
Posts: 1629

PostPosted: Tue Apr 15, 2014 5:06 pm    Post subject: Reply with quote

Instructor
Да, я уже подправил и дописал про исправление в предыдущее сообщение.
А вот из одних цифр можно. И в некоторых реализациях нельзя использовать зарезервированные слова типа «class» без кавычек.
Back to top
View user's profile Send private message Visit poster's website
KDJ



Joined: 06 Mar 2010
Posts: 1395
Location: Poland

PostPosted: Wed Apr 16, 2014 5:49 pm    Post subject: Reply with quote

LineBoardRulerOnOff.js for LineBoard plugin v11.7.
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 ... , 94, 95, 96  Next
Page 95 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