Mozilla Public Licence 1.1 (if otherwise is not stated
in the file). If you use this code, please include credit
to me (A.T.) in your app documentation.
Before-compile changes
unFrame.pas
in IDE clear the TextSource.ControlSite, or app will show
"Control .. has no parent window".
change in EControl 2.60
ecStrUtils.pas:
function CharSetToCodePage(ciCharset: UINT): Cardinal;
begin
case ciCharset of
400: Result := 20866; //add, then use 400 as KOI8 "charset"
...
end;