You've already forked lazarus-ccr
In this new version the gecko-interfaces are generated directly from the idl-files of the gecko-sdk using the idlparser utility. The generated include files are kept as closely to the original as possible. For now by defaule Gecko 9 is used, as Gecko 10 has a bug which makes it impossible to embed it on Linux systems. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
34 lines
1.6 KiB
PHP
34 lines
1.6 KiB
PHP
type
|
|
|
|
nsISelection = interface(nsISupports)
|
|
['{5ac0cd5d-3c08-4c4c-8e70-230c433f5d5c}']
|
|
function GetanchorNode(): nsIDOMNode; safecall;
|
|
property anchorNode : nsIDOMNode read GetanchorNode;
|
|
function GetanchorOffset(): idllong; safecall;
|
|
property anchorOffset : idllong read GetanchorOffset;
|
|
function GetfocusNode(): nsIDOMNode; safecall;
|
|
property focusNode : nsIDOMNode read GetfocusNode;
|
|
function GetfocusOffset(): idllong; safecall;
|
|
property focusOffset : idllong read GetfocusOffset;
|
|
function GetisCollapsed(): longbool; safecall;
|
|
property isCollapsed : longbool read GetisCollapsed;
|
|
function GetrangeCount(): idllong; safecall;
|
|
property rangeCount : idllong read GetrangeCount;
|
|
function getRangeAt(index: idllong) : nsIDOMRange; safecall;
|
|
procedure collapse(parentNode: nsIDOMNode; offset: idllong); safecall;
|
|
procedure extend(parentNode: nsIDOMNode; offset: idllong); safecall;
|
|
procedure collapseToStart(); safecall;
|
|
procedure collapseToEnd(); safecall;
|
|
function containsNode(node: nsIDOMNode; partlyContained: longbool) : longbool; safecall;
|
|
procedure selectAllChildren(parentNode: nsIDOMNode); safecall;
|
|
procedure addRange(range: nsIDOMRange); safecall;
|
|
procedure removeRange(range: nsIDOMRange); safecall;
|
|
procedure removeAllRanges(); safecall;
|
|
procedure deleteFromDocument(); safecall;
|
|
procedure selectionLanguageChange(langRTL: longbool); safecall;
|
|
function toString() : PWideChar; safecall;
|
|
procedure modify(alter: DOMString; direction: DOMString; granularity: DOMString); safecall;
|
|
|
|
end;
|
|
|