mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 19:50:54 +02:00
* change parameter order to be compatible with system.insert
This commit is contained in:
parent
9cecda0844
commit
f839ec946d
@ -20,7 +20,7 @@ type
|
|||||||
|
|
||||||
function UnicodeToUtf8(aChar:TUCS32Char):TUTF8Char;
|
function UnicodeToUtf8(aChar:TUCS32Char):TUTF8Char;
|
||||||
function UnicodeToUtf8(aChar:WideChar):TUTF8Char;
|
function UnicodeToUtf8(aChar:WideChar):TUTF8Char;
|
||||||
procedure insert(CharToInsert:TUTF8Char;var uString:TUTF8Str; var CursorPos:Integer);
|
procedure insert(var uString:TUTF8Str; CharToInsert:TUTF8Char; var CursorPos:Integer);
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ begin
|
|||||||
UnicodeToUtf8(Word(aChar));
|
UnicodeToUtf8(Word(aChar));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure insert(CharToInsert:TUTF8Char;var uString:TUTF8Str; var CursorPos:Integer);
|
procedure insert(var uString:TUTF8Str; CharToInsert:TUTF8Char; var CursorPos:Integer);
|
||||||
var
|
var
|
||||||
{At beginning of the line we don't know which direction, thus the first
|
{At beginning of the line we don't know which direction, thus the first
|
||||||
character usually decides of paragrph direction}
|
character usually decides of paragrph direction}
|
||||||
|
Loading…
Reference in New Issue
Block a user