Scripts discussion (2)

Discuss and announce AkelPad plugins
Locked
  • Author
  • Message
Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

Infocatcher
У меня ищет. Выбирается "Направление->Все файлы"?

Offline
Posts: 1862
Joined: Mon Aug 06, 2007 1:07 pm
Contact:

Post by Infocatcher »

Instructor
А у меня – ни в какую.
Беру вот такой AkelPad.ini:

Code: Select all

[Options]
SaveSettings=2
MDI=1
Запускаю SearchReplace.js (md5: c6dda3254bb829386bc0080730a61ab4).
Создаю три вкладки.
В каждой вкладке набираю «1».
И ищу тоже «1».
В активной вкладке находит, а потом переключает все вкладки, возвращается на исходную и выдает, что «Search finished».

Scripts.dll v.11.9, md5: 073a03fd6c8449f459ba63a9efa0f99c
AkelPad'ы разные: и релизный 4.7.9, и какая-то из недавних тестовых сборок.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

Infocatcher
Думал проблема в "Найти все". Исправлено - будет доступно после релиза 4.8.0. Если самому менять то все:

Code: Select all

//Next MDI frame
меняем на

Code: Select all

nDirection&=~DN_DOWN;

//Next MDI frame

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

BrowseForFolder_function.js
Changed: now dialog box is centered in the parent window.

Offline
Posts: 3217
Joined: Wed Nov 29, 2006 1:19 pm
Location: Киев, Русь
Contact:

Post by VladSh »

Тихонько, без лишнего шума :D, обновилась пара скриптов:
XMLValidator.js - большая настраиваемость;
AutoTag.js - теперь корректно работает для всех возможных вариантов:

Code: Select all

<Tag|
<Tag>|
<Tag attr="value"|
<Tag attr="value">|
что особенно приятно)

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

Something stopped working.
I can't load the file KDJ.zip on the site: http://akelpad.sourceforge.net/files/plugs/Scripts/
It shows the following message: "There was an error uploading the file, please try again!".

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

KDJ
SF changed path to AkelPad project. Now should work.

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

Thanks, Instructor. Now working.

BrowseForFolder_function.js
Changed: initially set focus to folders tree.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

KDJ
FindFiles.js not in KDJ.zip

Good script. Some wishes:
1. Option to do not search in binary files.
2. Double click on listbox - open file on edit.

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

FindFiles.js
Added:
- ability to skip binary files, during search the contents,
- double click on file - edit it,
- Ctrl+A - select all files,
- settings,
- possibility to translate the interface.

Offline
Posts: 3217
Joined: Wed Nov 29, 2006 1:19 pm
Location: Киев, Русь
Contact:

Post by VladSh »

KDJ
Yes, a good script.
What else would like to:
1. On doubleclick close the opened file (possibly optional).
2. Uncomfortable that the fields "Name of file" and "Text in file" are different ways of filling: first - with *, second - without.
3. These fields appear as disabled (WinXP).

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

VladSh
1. Double click opens file to editing. To close the file, you should double click on tab in edit window.
2. Wildcard characters (*?) apply only to the file names. To search for any string of characters in the file content, you must use a regular expression.
3. I don't understand this. Can you show the screenshot?

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

FindFiles.js
Added: Chinese translation by cnnnc.
Fixed: Ctrl+A shortcut.

Offline
Posts: 3217
Joined: Wed Nov 29, 2006 1:19 pm
Location: Киев, Русь
Contact:

Post by VladSh »

KDJ
1. Quickly open the file and see that it's not that, and without moving the mouse on a tab to close it, it is convenient.
2. Different rules for filling - for the average user uncomfortable. May be necessary to look for the files using regular expressions?
3.

Image
Directory displayed as editable, other fields - as disabled.
.

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

VladSh
#1
What to do if the file has been previously opened. Also close it?
Probably better to select all the files and open them (Ctrl+A and Enter or click "Edit" button ), then close in AkelPad those unnecessary.

#2
If you need to find VBS scripts, you can do it without regular expressions: "*.vbs".
If you need to find VBS and JS scripts, you have to use regular expression eg.: "(\.vbs|\.js)$".

#3
FindFiles.js
Fixed: bad color of ComboBoxes "Name of file" and "Text in file" in Windows classic style.
Locked