//Command line
#define AKD_GETCMDLINEOPTIONS (WM_USER + 121)
#define AKD_SETCMDLINEOPTIONS (WM_USER + 122) = 1146
#define AKD_PARSECMDLINEW (WM_USER + 125)
.........
//Command line options
#define CLO_MSGSAVELOSTSYMBOLSYES 0x40 //Silently save file, even if symbols will be lost.
#define CLO_MSGSAVELOSTSYMBOLSNO 0x80 //Don't save file, if symbols will be lost.
.........
AKD_SETCMDLINEOPTIONS
_____________________
Set command line options.
(DWORD)wParam == see CLO_* defines.
lParam == not used.
Return Value
Zero.
Example:
SendMessage(pd->hMainWnd, AKD_SETCMDLINEOPTIONS, CLO_MSGOPENCREATENO|CLO_MSGOPENBINARYNO, 0);
Вроде как для сохранения без предупреждения о потере символов:
AkelPad.SendMessage(hMainWnd, 1146 /*AKD_SETCMDLINEOPTIONS*/, 64 /*CLO_MSGSAVELOSTSYMBOLSYES*/, 0);
А молча не сохранять если символы теряются:
AkelPad.SendMessage(hMainWnd, 1146 /*AKD_SETCMDLINEOPTIONS*/, 128 /*CLO_MSGSAVELOSTSYMBOLSNO*/, 0);
Scripts-Eng.txt wrote:AkelPad.SetEditWnd
...
hHandle
Edit window handle. If zero or hHandle is not AkelEdit/RichEdit20 window or hHandle is standard edit window, then handles management is taken by program and zero is returned.
FileInfo.js
Added:
- Vertical Tab and Form Feed chars,
- statistics of chars with code 1-32 (details),
- hex code of chars (details),
- lines terminated by whitespaces,
- empty lines with whitespaces (details),
- detect bad NewLine format,
- second argument, which reduces the amount of displayed information (chars, words, lines - "CWL").
Fixed:
- work in Word Wrap mode,
- Carriage Return and Line Feed are counted exactly.
Posted: Mon Jul 30, 2012 8:27 am
by Andrey_A_A
Подскажите такую вещь.
Я вставляю текст методом AkelPad.ReplaceSel("MyText")
но мне надо, чтобы документ не перепрыгивал вправо, а оставался на месте вместе с курсором.
Для себя я сделал один вариант, но документ "дёргается", может кто предложит вариант без моргания