IRange
Scriptable object
Description
Range object
Properties
Property | Description |
---|---|
bottom | Bottom |
End | Range end position |
Height | Returns difference between Bottom and Top |
IsEmpty | Check if range is empty (Height and Width equals 0) |
IsNormalized | Check if range is normalized (TopLeft point less or equal to BottomRight) |
left | Left |
right | Right |
Start | Range start position |
top | Top |
Width | Return difference between Right and Left |
Methods
Method | Description |
---|---|
equals | Compare, if objects are equal |
Inflate | Inflate range |
IsInside | Checks if position is inside of range (greater or equal start and less than end position) |
IsIntersects | Checks if position intersects range (greater or equal start and less or equal than end position) |
IsRangeInside | Checks if other range is inside of range (greater or equal start and less than end position) |
IsRangeIntersects | Checks if other range intersects range (greater or equal start and less or equal than end position) |
Normalize | Normalizes the range |
See Also
IApplication::CreateRange, IApplication::CreateRange2, ICodeTemplateHandler::Execute, ICompletionItem::Expand, ICompletionProvider::Collect, IFrameEvents::onCompletion, IFrameEvents::onHotSpotNavigate, IFrameEvents::onQuickInfo, IFrameEvents::onSelectionChange, IFrameEvents::onTextFormat, ILabel::Range, ILabels::FromRange, IRanges::Item, IScope::Close, IScope::Inner, IScope::Open, IScope::Outer, IScopes::FromRange, IScriptApplication::CreateRange, IScriptApplication::CreateRange2, IScriptApplication::Range, IScriptCodeTemplateHandler::Execute, IScriptCompletionItem::Expand, IScriptCompletionProvider::Collect, ISelection, ISelection::equals, ISelection::IsRangeInside, ISelection::IsRangeIntersects, IStyleRange::Range, ITextDocument::AddStyleRange, ITextDocument::AdoptIndent, ITextDocument::DeleteText, ITextDocument::DeleteTextBlock, ITextDocument::Find, ITextDocument::FindLabels, ITextDocument::FindScopes, ITextDocument::ReplaceText, ITextView::CurrentWord, ITextView::EnsureRangeVisible, ITextView::GetWordFromPos, ITextView::InsertTemplate, ITextView::Select, ITextView::Selection, ITextView::ShowCompletionList, ITextView::VisibleArea
#API