Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== IRange ====== Scriptable object ===== Description ===== Range object ===== Properties ===== ^Property^ Description^ |[[scripting:api:range:bottom|bottom]]| Bottom| |[[scripting:api:range:end|End]]| Range end position| |[[scripting:api:range:height|Height]]| Returns difference between Bottom and Top| |[[scripting:api:range:is-empty|IsEmpty]]| Check if range is empty (Height and Width equals 0)| |[[scripting:api:range:is-normalized|IsNormalized]]| Check if range is normalized (TopLeft point less or equal to BottomRight)| |[[scripting:api:range:left|left]]| Left| |[[scripting:api:range:right|right]]| Right| |[[scripting:api:range:start|Start]]| Range start position| |[[scripting:api:range:top|top]]| Top| |[[scripting:api:range:width|Width]]| Return difference between Right and Left| ===== Methods ===== ^Method^ Description^ |[[scripting:api:range:equals|equals]]| Compare, if objects are equal| |[[scripting:api:range:inflate|Inflate]]| Inflate range| |[[scripting:api:range:is-inside|IsInside]]| Checks if position is inside of range (greater or equal start and less than end position)| |[[scripting:api:range:is-intersects|IsIntersects]]| Checks if position intersects range (greater or equal start and less or equal than end position)| |[[scripting:api:range:is-range-inside|IsRangeInside]]| Checks if other range is inside of range (greater or equal start and less than end position)| |[[scripting:api:range:is-range-intersects|IsRangeIntersects]]| Checks if other range intersects range (greater or equal start and less or equal than end position)| |[[scripting:api:range:normalize|Normalize]]| Normalizes the range| ===== See Also ===== [[:scripting:api:application:create-range|IApplication::CreateRange]], [[:scripting:api:application:create-range2|IApplication::CreateRange2]], [[:scripting:api:code-template-handler:execute|ICodeTemplateHandler::Execute]], [[:scripting:api:completion-item:expand|ICompletionItem::Expand]], [[:scripting:api:completion-provider:collect|ICompletionProvider::Collect]], [[:scripting:api:frame-events:on-completion|IFrameEvents::onCompletion]], [[:scripting:api:frame-events:on-hot-spot-navigate|IFrameEvents::onHotSpotNavigate]], [[:scripting:api:frame-events:on-quick-info|IFrameEvents::onQuickInfo]], [[:scripting:api:frame-events:on-selection-change|IFrameEvents::onSelectionChange]], [[:scripting:api:frame-events:on-text-format|IFrameEvents::onTextFormat]], [[:scripting:api:label:range|ILabel::Range]], [[:scripting:api:labels:from-range|ILabels::FromRange]], [[:scripting:api:ranges:item|IRanges::Item]], [[:scripting:api:scope:close|IScope::Close]], [[:scripting:api:scope:inner|IScope::Inner]], [[:scripting:api:scope:open|IScope::Open]], [[:scripting:api:scope:outer|IScope::Outer]], [[:scripting:api:scopes:from-range|IScopes::FromRange]], [[:scripting:api:application:create-range|IScriptApplication::CreateRange]], [[:scripting:api:application:create-range2|IScriptApplication::CreateRange2]], [[:scripting:api:script-application:range|IScriptApplication::Range]], [[:scripting:api:code-template-handler:execute|IScriptCodeTemplateHandler::Execute]], [[:scripting:api:completion-item:expand|IScriptCompletionItem::Expand]], [[:scripting:api:completion-provider:collect|IScriptCompletionProvider::Collect]], [[:scripting:api:selection:start|ISelection]], [[:scripting:api:range:equals|ISelection::equals]], [[:scripting:api:range:is-range-inside|ISelection::IsRangeInside]], [[:scripting:api:range:is-range-intersects|ISelection::IsRangeIntersects]], [[:scripting:api:style-range:range|IStyleRange::Range]], [[:scripting:api:text-document:add-style-range|ITextDocument::AddStyleRange]], [[:scripting:api:text-document:adopt-indent|ITextDocument::AdoptIndent]], [[:scripting:api:text-document:delete-text|ITextDocument::DeleteText]], [[:scripting:api:text-document:delete-text-block|ITextDocument::DeleteTextBlock]], [[:scripting:api:text-document:find|ITextDocument::Find]], [[:scripting:api:text-document:find-labels|ITextDocument::FindLabels]], [[:scripting:api:text-document:find-scopes|ITextDocument::FindScopes]], [[:scripting:api:text-document:replace-text|ITextDocument::ReplaceText]], [[:scripting:api:text-view:current-word|ITextView::CurrentWord]], [[:scripting:api:text-view:ensure-range-visible|ITextView::EnsureRangeVisible]], [[:scripting:api:text-view:get-word-from-pos|ITextView::GetWordFromPos]], [[:scripting:api:text-view:insert-template|ITextView::InsertTemplate]], [[:scripting:api:text-view:select|ITextView::Select]], [[:scripting:api:text-view:selection|ITextView::Selection]], [[:scripting:api:text-view:show-completion-list|ITextView::ShowCompletionList]], [[:scripting:api:text-view:visible-area|ITextView::VisibleArea]] #API ~~NOTOC~~