mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 04:19:19 +02:00
synedit: added function IsIndentChar needed for unicode support
git-svn-id: trunk@12610 -
This commit is contained in:
parent
ceca023673
commit
4db2eccd14
@ -755,6 +755,9 @@ type
|
||||
function GetWordAtRowCol(XY: TPoint): string;
|
||||
procedure GotoBookMark(BookMark: Integer);
|
||||
function IdentChars: TSynIdentChars;
|
||||
{$IFDEF SYN_LAZARUS}
|
||||
function IsIdentChar(const c: TUTF8Char): boolean;
|
||||
{$ENDIF}
|
||||
procedure InvalidateGutter;
|
||||
procedure InvalidateLine(Line: integer);
|
||||
function IsBookmark(BookMark: integer): boolean;
|
||||
@ -7130,6 +7133,13 @@ begin
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
{$IFDEF SYN_LAZARUS}
|
||||
function TCustomSynEdit.IsIdentChar(const c: TUTF8Char): boolean;
|
||||
begin
|
||||
Result:=(length(c)=1) and (c[1] in IdentChars);
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
procedure TCustomSynEdit.SetBookMark(BookMark: Integer; X: Integer; Y: Integer);
|
||||
var
|
||||
i: Integer;
|
||||
|
Loading…
Reference in New Issue
Block a user