|
@@ -138,6 +138,7 @@ type
|
|
|
FWordWrap: Boolean;
|
|
|
procedure ApplyOptions;
|
|
|
procedure ForwardMessage(const Message: TMessage);
|
|
|
+ function GetAnchorPosition: Integer;
|
|
|
function GetAutoCompleteActive: Boolean;
|
|
|
function GetCallTipActive: Boolean;
|
|
|
function GetCaretColumn: Integer;
|
|
@@ -373,6 +374,7 @@ type
|
|
|
function WordAtCaretRange: TScintRange;
|
|
|
procedure ZoomIn;
|
|
|
procedure ZoomOut;
|
|
|
+ property AnchorPosition: Integer read GetAnchorPosition;
|
|
|
property AutoCompleteActive: Boolean read GetAutoCompleteActive;
|
|
|
property CallTipActive: Boolean read GetCallTipActive;
|
|
|
property CaretColumn: Integer read GetCaretColumn write SetCaretColumn;
|
|
@@ -982,6 +984,11 @@ begin
|
|
|
CallWindowProc(DefWndProc, Handle, Message.Msg, Message.WParam, Message.LParam);
|
|
|
end;
|
|
|
|
|
|
+function TScintEdit.GetAnchorPosition: Integer;
|
|
|
+begin
|
|
|
+ Result := Call(SCI_GETANCHOR, 0, 0);
|
|
|
+end;
|
|
|
+
|
|
|
function TScintEdit.GetAutoCompleteActive: Boolean;
|
|
|
begin
|
|
|
Result := Call(SCI_AUTOCACTIVE, 0, 0) <> 0;
|