mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 23:19:24 +02:00
* undo last modification
This commit is contained in:
parent
f839ec946d
commit
8f7c288bf2
@ -20,7 +20,7 @@ type
|
||||
|
||||
function UnicodeToUtf8(aChar:TUCS32Char):TUTF8Char;
|
||||
function UnicodeToUtf8(aChar:WideChar):TUTF8Char;
|
||||
procedure insert(var uString:TUTF8Str; CharToInsert:TUTF8Char; var CursorPos:Integer);
|
||||
procedure insert(CharToInsert:TUTF8Char; var uString:TUTF8Str; var CursorPos:Integer);
|
||||
|
||||
implementation
|
||||
|
||||
@ -53,7 +53,7 @@ begin
|
||||
UnicodeToUtf8(Word(aChar));
|
||||
end;
|
||||
|
||||
procedure insert(var uString:TUTF8Str; CharToInsert:TUTF8Char; var CursorPos:Integer);
|
||||
procedure insert(CharToInsert:TUTF8Char; var uString:TUTF8Str; var CursorPos:Integer);
|
||||
var
|
||||
{At beginning of the line we don't know which direction, thus the first
|
||||
character usually decides of paragrph direction}
|
||||
|
Loading…
Reference in New Issue
Block a user