Scripts discussion (3)
- Author
- Message
-
Offline
- Posts: 366
- Joined: Mon Jan 10, 2011 5:28 pm
- Contact:
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.
И заодно, а есть скрипт, который каждую бы строку поворачивал задом наперед. То есть как бы читать с конца?
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.
И заодно, а есть скрипт, который каждую бы строку поворачивал задом наперед. То есть как бы читать с конца?
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
-
Offline
- Posts: 670
- Joined: Thu Jun 03, 2010 8:47 am
- Location: Сочи, Хоста
- Contact:
Skif_off
BookmarksPlus.zip
BookmarksPlus.zip
-
Offline
- Posts: 1161
- Joined: Sun Oct 20, 2013 11:44 am
Andrey_A_A
Вроде работает, спасибо, а почему переделали на мерзкий ANSI? UTF-8 все-таки универсальнее. В каком формате добавлять? "UTF-8" и "65001" не сработали, без кавычек, как в примере к AkelPad.WriteFile, тоже - скрипт валится с руганью на nCode в 37й строке: Несоответствие типа CIntДля 4 в 3-м параметре можно прописать кодировку сохраняемого файла (по умолчанию 1251)
-
Offline
- Posts: 670
- Joined: Thu Jun 03, 2010 8:47 am
- Location: Сочи, Хоста
- Contact:
В каком формате добавлять?
Code: Select all
Call("Scripts::Main", 1, "BookmarksPlus.vbs", `"4" "%a\AkelFiles\List\ListBookmarks.txt" "65001"`)
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
Lenchik
SortLines.js, example:
Lines:
After standard sort - read lines from beginning:
After sort - read lines from end:
Does it have to be this way?
SortLines.js, example:
Lines:
Code: Select all
wxyz
abcd
zyxw
dcba
Code: Select all
abcd
dcba
wxyz
zyxw
Code: Select all
dcba
abcd
zyxw
wxyz
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
LineBoardBookmarks.js
Added: Russian translation by Skif_off.
Added: Russian translation by Skif_off.
-
Offline
- Posts: 670
- Joined: Thu Jun 03, 2010 8:47 am
- Location: Сочи, Хоста
- Contact:
Code: Select all
при каждом запуске с параметром 4 ListBookmarks.txt перезаписывается целиком?
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
AkelPadManualSettings.js
Updated for AkelPad 4.9.0 (added flags 256 and 512 for manual parameter "MouseOptions").
Updated for AkelPad 4.9.0 (added flags 256 and 512 for manual parameter "MouseOptions").
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
AkelPadManualSettings.js
Fixed: bug while change language.
Fixed: bug while change language.
-
Offline
- Posts: 1250
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine
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? --
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? --