scripting:api:text-document:find-scope

FindScope

Method of ITextDocument

Find Scope from point

var ppScope = TextDocument.FindScope(pPos, nScopeKind);

==== Visual Basic Script ====

ppScope = TextDocument.FindScope pPos, nScopeKind

==== C++ ====

CComPtr<IScope> pScope;
HRESULT hr = TextDocument.FindScope(pPos, nScopeKind, &pScope);

===== See Also ===== ITextDocument