scripting:api:scope-kind

eScopeKind

Constant enumeration

Scope kind for retrieval (used in ITextDocument::FindScope)

Member Value Description
eScopeKindAny 0 Closest surrounding scope, even comments etc
eScopeKindCode 1 Closest surrounding scope, but not comments
eScopeKindNamed 2 Closest surrounding scope, that has name or label assigned
eScopeKindSyntax 3 Closest syntax surrounding scope
eScopeKindTopLevel 4 Scope with nesting level 0