C# Класс Alsing.SourceCode.Scope

The Scope class defines what patterns starts and ends a spanDefinition
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CaseSensitive bool
CauseIndent bool
DefaultExpanded bool
EndPatterns PatternCollection
ExpansionText string
NormalizeCase bool
Parent Alsing.SourceCode.SpanDefinition
Start Pattern
Style TextStyle
spawnSpanOnEnd Alsing.SourceCode.SpanDefinition
spawnSpanOnStart Alsing.SourceCode.SpanDefinition

Описание свойств

CaseSensitive публичное свойство

Gets or Sets if the scope patterns is case sensitive
public bool CaseSensitive
Результат bool

CauseIndent публичное свойство

public bool CauseIndent
Результат bool

DefaultExpanded публичное свойство

Gets or Sets if this block should be expanded or collapsed by default
public bool DefaultExpanded
Результат bool

EndPatterns публичное свойство

List of end patterns
public PatternCollection EndPatterns
Результат PatternCollection

ExpansionText публичное свойство

The text that should be displayed if the owner block is collapsed
public string ExpansionText
Результат string

NormalizeCase публичное свойство

Gets or Sets if the scope patterns should be case normalized
public bool NormalizeCase
Результат bool

Parent публичное свойство

The owner spanDefinition
public SpanDefinition,Alsing.SourceCode Parent
Результат Alsing.SourceCode.SpanDefinition

Start публичное свойство

The Start trigger Pattern
public Pattern,Alsing.SourceCode Start
Результат Pattern

Style публичное свойство

The style that should be applied to the start and end patterns
public TextStyle,Alsing.SourceCode Style
Результат TextStyle

spawnSpanOnEnd публичное свойство

spanDefinition that should be started directly after this block have ended
public SpanDefinition,Alsing.SourceCode spawnSpanOnEnd
Результат Alsing.SourceCode.SpanDefinition

spawnSpanOnStart публичное свойство

spanDefinition that should be started directly after this block have started
public SpanDefinition,Alsing.SourceCode spawnSpanOnStart
Результат Alsing.SourceCode.SpanDefinition