Scripts discussion (3)

Discuss and announce AkelPad plugins
Locked
  • Author
  • Message
KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

FindReplaceEx.js
TextMarker.js
Updated regular expressions help for AkelPad 4.9.0.

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

Post by KDJ »

AkelPadDocsView.js
Changed: "Find in *.txt documents" dialog.

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

Post by Instructor »

KDJ
Maybe add button "Save plugin text to plugin key" to PluginText.js that will import text without saving it to file. It will be able to change settings in two steps: press F1, press "Save plugin text to plugin key".

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

Post by KDJ »

Instructor
I'm not convinced to this solution.
In this way, in registry/ini key can be saved the text from any file.
It may be dangerous, you can unwittingly to destroy the settings.

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

Post by Instructor »

KDJ
All frames opened with F1 can be saved into array and when pressing to "Save plugin text to plugin key" script will check current frame belong to array or not (or even disable button if frame not in array). But anyway this is just third-party observation.

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

Post by Instructor »

VersionIncrement.js

Fixed: 10,9 -> 11,0

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

Post by KDJ »

Instructor
Done: PluginText.js
Added: button "Load text to plugin key (F2)".
Changed: hotkeys.

Offline
Posts: 670
Joined: Thu Jun 03, 2010 8:47 am
Location: Сочи, Хоста
Contact:

Post by Andrey_A_A »

Скрипт ForceNewInstance.js создавал ПУСТОЕ новое окно, в версии 4.9.0 создаёт окно и открывает сессию, как вернуть прежний функционал скрипта?

Offline
Posts: 173
Joined: Mon Dec 06, 2010 9:53 am
Location: г.Харьков, Русь

Post by San_dr »

Andrey_A_A у меня в х64 "7" Аk=4.9.0 MDI все штатно.
"Файл" -> -"Созд&ать окно" (Ctrl+Shift+N)
сессии не открываются. В .ini - Sessions::Main=67155
--------
проверил в PMDI и SDI - тоже тип-топ.

Offline
Posts: 670
Joined: Thu Jun 03, 2010 8:47 am
Location: Сочи, Хоста
Contact:

Post by Andrey_A_A »

Скрипт ForceNewInstance.js открывает сессию 12345, если до этого была запущена команда:

-"Открыть все файлы сессии 12345" Call("Sessions::Main", 1, "12345")

Да и в прошлой версии то же такое-же поведение.

Тогда вопрос: как можно открыть пустую копию окна при запуске перед этим подобной команды.

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

Post by Instructor »

KDJ wrote:Done: PluginText.js
Thanks! Works fine.

BTW in 4.9.1 will be possible to simplify code with AkelPad.ScriptSettings().

Andrey_A_A
Может у вас старая версия скрипта? Последняя на текущий момент 1.2.

Offline
Posts: 670
Joined: Thu Jun 03, 2010 8:47 am
Location: Сочи, Хоста
Contact:

Post by Andrey_A_A »

Code: Select all

Может у вас старая версия скрипта?
Версия 1.2
Вот какая последовательность действий:
Сейчас приходится работать с 2-мя копиями окна (с 2-мя сессиями)
1. Открываю AkelPad, открывается сессия та, которая была при последнем закрытии.
2. Из него открываю новую копию через ForceNewInstance.js - открывает нормально - пустое окно
3. В этом окне открываю сохранённую сессию
-"Открыть все файлы сессии 12345" Call("Sessions::Main", 1, "12345")
--------
Далее иногда требуется открыть из 2-й копии пустое окно для просмотра/редактирования ряда файлов. НО из 2-й копии открывается не пустое, а сразу с сессией 12345

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

Post by Instructor »

Andrey_A_A
Реализовано. Будет доступно после релиза 4.9.1.

Offline
Posts: 1161
Joined: Sun Oct 20, 2013 11:44 am

Post by Skif_off »

Instructor
После крайнего обновления Instructor.zip версия TabSwitch.js оказалась 3.5 (текущая 3.6)

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

Post by Instructor »

Skif_off
Обновлено.
Locked