KDJ wrote:When I try to close any modified document (from the script), then displays message box "Document was modified. Do you want to save it?" and AkelPad hangs. On Win-XP sometimes, and on Win-7 always.
Fix searching took a few hours a week ago without luck, I remember about this report.
KDJ wrote:Could you add optional parameter bAll for AkelPad.TextFind:
AkelPad.TextFind(hHandle, pFindIt, nFlags, bAll);
Return Value
- if bAll is true, the return value is count of occurences.
See Scripts 18.4. RRF_TEST requires dev version of 4.9.8.
Добавлено: флаг RRF_TEST в метод AkelPad.TextReplace - только тестирование (для количества замен). Исправлено: WFF_APPENDFILE - BOM теперь добавляется только в начало файла.
Added: RRF_TEST flag in AkelPad.TextReplace method - test only (for count of changes). Fixed: WFF_APPENDFILE - BOM now added only for file beginning.
Instructor
Если взялись за функционал поиска, то не могли бы Вы заодно добавить флаг в AkelPad.TextFind, чтобы, задать методу не выделять найденную строку, а просто возвращать номер позиции?
KDJ wrote:When I try to close any modified document (from the script), then displays message box "Document was modified. Do you want to save it?" and AkelPad hangs. On Win-XP sometimes, and on Win-7 always.