Selection

Undocumented in source.
@safe nothrow
struct Selection {}

Constructors

this
this(Handle h)
Undocumented in source.

Alias This

handle

Members

Functions

DOMString
auto DOMString()
Undocumented in source. Be warned that the author may not have intended to support it.
GetRangesForInterval
auto GetRangesForInterval(Node beginNode, int beginOffset, Node endNode, int endOffset, bool allowAdjacent)
Undocumented in source. Be warned that the author may not have intended to support it.
QueryInterface
auto QueryInterface(T0 iid)
Undocumented in source. Be warned that the author may not have intended to support it.
addRange
void addRange(Range range)
Undocumented in source. Be warned that the author may not have intended to support it.
addSelectionListener
void addSelectionListener(nsISelectionListener newListener)
Undocumented in source. Be warned that the author may not have intended to support it.
anchorNode
auto anchorNode()
Undocumented in source. Be warned that the author may not have intended to support it.
anchorOffset
uint anchorOffset()
Undocumented in source. Be warned that the author may not have intended to support it.
caretBidiLevel
void caretBidiLevel(Optional!(T0) caretBidiLevel)
Undocumented in source. Be warned that the author may not have intended to support it.
caretBidiLevel
Optional!(short) caretBidiLevel()
Undocumented in source. Be warned that the author may not have intended to support it.
collapse
void collapse(Optional!(T0) node, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
collapse
void collapse(Optional!(T0) node)
Undocumented in source. Be warned that the author may not have intended to support it.
collapseToEnd
void collapseToEnd()
Undocumented in source. Be warned that the author may not have intended to support it.
collapseToStart
void collapseToStart()
Undocumented in source. Be warned that the author may not have intended to support it.
containsNode
bool containsNode(Node node, bool allowPartialContainment)
Undocumented in source. Be warned that the author may not have intended to support it.
containsNode
bool containsNode(Node node)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteFromDocument
void deleteFromDocument()
Undocumented in source. Be warned that the author may not have intended to support it.
empty
void empty()
Undocumented in source. Be warned that the author may not have intended to support it.
extend
void extend(Node node, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
extend
void extend(Node node)
Undocumented in source. Be warned that the author may not have intended to support it.
focusNode
auto focusNode()
Undocumented in source. Be warned that the author may not have intended to support it.
focusOffset
uint focusOffset()
Undocumented in source. Be warned that the author may not have intended to support it.
getRangeAt
auto getRangeAt(uint index)
Undocumented in source. Be warned that the author may not have intended to support it.
interlinePosition
void interlinePosition(bool interlinePosition)
Undocumented in source. Be warned that the author may not have intended to support it.
interlinePosition
bool interlinePosition()
Undocumented in source. Be warned that the author may not have intended to support it.
isCollapsed
bool isCollapsed()
Undocumented in source. Be warned that the author may not have intended to support it.
modify
void modify(string alter, string direction, string granularity)
Undocumented in source. Be warned that the author may not have intended to support it.
rangeCount
uint rangeCount()
Undocumented in source. Be warned that the author may not have intended to support it.
removeAllRanges
void removeAllRanges()
Undocumented in source. Be warned that the author may not have intended to support it.
removeRange
void removeRange(Range range)
Undocumented in source. Be warned that the author may not have intended to support it.
removeSelectionListener
void removeSelectionListener(nsISelectionListener listenerToRemove)
Undocumented in source. Be warned that the author may not have intended to support it.
resetColors
void resetColors()
Undocumented in source. Be warned that the author may not have intended to support it.
scrollIntoView
void scrollIntoView(short aRegion, bool aIsSynchronous, short aVPercent, short aHPercent)
Undocumented in source. Be warned that the author may not have intended to support it.
selectAllChildren
void selectAllChildren(Node node)
Undocumented in source. Be warned that the author may not have intended to support it.
selectionType
short selectionType()
Undocumented in source. Be warned that the author may not have intended to support it.
setBaseAndExtent
void setBaseAndExtent(Node anchorNode, uint anchorOffset, Node focusNode, uint focusOffset)
Undocumented in source. Be warned that the author may not have intended to support it.
setColors
void setColors(string aForegroundColor, string aBackgroundColor, string aAltForegroundColor, string aAltBackgroundColor)
Undocumented in source. Be warned that the author may not have intended to support it.
setPosition
void setPosition(Optional!(T0) node, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
setPosition
void setPosition(Optional!(T0) node)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringWithFormat
string toStringWithFormat(string formatType, uint flags, int wrapColumn)
Undocumented in source. Be warned that the author may not have intended to support it.
type
string type()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

handle
JsHandle handle;
Undocumented in source.

Meta