Page 17 of 99

Posted: Sat Sep 06, 2014 9:00 pm
by Lenchik
KDJ
key 2 line content
Columns
from # to #
I want column numbers and all comparings to be optionally (two different options) counted from right, from end of lines.
Lines can be of different length and i want to compare them from end. Or if they have some parts of equal size at the end to be removed from comparing decision.


И заодно, а есть скрипт, который каждую бы строку поворачивал задом наперед. То есть как бы читать с конца?

Posted: Sat Sep 06, 2014 9:34 pm
by Skif_off
Lenchik wrote:И заодно, а есть скрипт, который каждую бы строку поворачивал задом наперед. То есть как бы читать с конца?
У Andrey_A_A посмотрите, что-то вроде InvertRevers.vbs, по крайней мере, очень похожее название :).

Posted: Sat Sep 06, 2014 9:55 pm
by KDJ
TextMarker.js
Aded:
- context menu in edit fields,
- help for regular expressions.

Posted: Sat Sep 06, 2014 10:36 pm
by Andrey_A_A

Posted: Sat Sep 06, 2014 11:41 pm
by Skif_off
Andrey_A_A
Для 4 в 3-м параметре можно прописать кодировку сохраняемого файла (по умолчанию 1251)
Вроде работает, спасибо, а почему переделали на мерзкий ANSI? UTF-8 все-таки универсальнее. В каком формате добавлять? "UTF-8" и "65001" не сработали, без кавычек, как в примере к AkelPad.WriteFile, тоже - скрипт валится с руганью на nCode в 37й строке: Несоответствие типа CInt

Posted: Sun Sep 07, 2014 2:31 am
by Andrey_A_A
В каком формате добавлять?

Code: Select all

Call("Scripts::Main", 1, "BookmarksPlus.vbs", `"4" "%a\AkelFiles\List\ListBookmarks.txt" "65001"`)
Skif_off Перекачайте последний архив

Posted: Sun Sep 07, 2014 12:36 pm
by KDJ
Lenchik
SortLines.js, example:
Lines:

Code: Select all

wxyz
abcd
zyxw
dcba
After standard sort - read lines from beginning:

Code: Select all

abcd
dcba
wxyz
zyxw
After sort - read lines from end:

Code: Select all

dcba
abcd
zyxw
wxyz
Does it have to be this way?

Posted: Sun Sep 07, 2014 1:03 pm
by Lenchik
Yes

Posted: Sun Sep 07, 2014 1:15 pm
by Skif_off
Andrey_A_A
Спасибо, работает. Правильно понимаю, что при каждом запуске с параметром 4 ListBookmarks.txt перезаписывается целиком?

Posted: Sun Sep 07, 2014 1:49 pm
by KDJ
LineBoardBookmarks.js
Added: Russian translation by Skif_off.

Posted: Sun Sep 07, 2014 6:11 pm
by Andrey_A_A

Code: Select all

при каждом запуске с параметром 4 ListBookmarks.txt перезаписывается целиком?
Да

Posted: Sun Sep 07, 2014 9:17 pm
by KDJ
Lenchik
SortLines.js
Added: "Read from right to left" parameter.

Posted: Mon Sep 08, 2014 8:43 pm
by KDJ
AkelPadManualSettings.js
Updated for AkelPad 4.9.0 (added flags 256 and 512 for manual parameter "MouseOptions").

Posted: Tue Sep 09, 2014 7:36 pm
by KDJ
AkelPadManualSettings.js
Fixed: bug while change language.

Posted: Wed Sep 10, 2014 8:38 am
by DV
KDJ,
Just discovered AkelPadDocsView.js, AkelPadManualSettings.js and AkelPadMethodsView.js (did not use them before) - it's really fantastic!
Actually, together with your other scripts such as TextMarker.js or Translator.js, they are more full-fledged plugins than just scripts.
What I'd like to propose is to have a more customizable Find Dialog in AkelPadDocsView.js (and then, probably, in AkelPadMethodsView.js), because its current very basic implementation is not handy enough. Could you consider to modify the Find Dialog similar to the following? --

Code: Select all

Text:
[....................................]

[ ] Match case

Direction:
(*) Down
( ) Up

Search in:
(*) Current document
( ) All documents