C# 클래스 GUIUtils.Editor.Patterns.Pattern

A pattern to be found in the text, associated to a color
파일 보기 프로젝트 열기: ERTMSSolutions/ERTMSFormalSpecs 1 사용 예제들

공개 메소드들

메소드 설명
AdditionalCheck ( string text, DataDictionary.ModelElement instance ) : bool

Performs additional checks on the string provided

Colorize ( SyntaxRichTextBox textBox, DataDictionary.ModelElement instance, int start, string line, List colorizedLocations ) : void

Process a regular expression.

Pattern ( Font baseFont, string regExp ) : System.Collections.Generic

Constructor

TokenizeLine ( DataDictionary.ModelElement instance, string line, List textParts, List colorizedLocations ) : void

Tokenizes a single line

비공개 메소드들

메소드 설명
CheckLocation ( Match match, IEnumerable colorizedLocations ) : bool

Checks that the matching does not occur in an already colored location

메소드 상세

AdditionalCheck() 공개 메소드

Performs additional checks on the string provided
public AdditionalCheck ( string text, DataDictionary.ModelElement instance ) : bool
text string
instance DataDictionary.ModelElement
리턴 bool

Colorize() 공개 메소드

Process a regular expression.
public Colorize ( SyntaxRichTextBox textBox, DataDictionary.ModelElement instance, int start, string line, List colorizedLocations ) : void
textBox SyntaxRichTextBox
instance DataDictionary.ModelElement
start int The start index of the line
line string The line to be processed
colorizedLocations List The location where coloring already occured
리턴 void

Pattern() 공개 메소드

Constructor
public Pattern ( Font baseFont, string regExp ) : System.Collections.Generic
baseFont System.Drawing.Font
regExp string
리턴 System.Collections.Generic

TokenizeLine() 공개 메소드

Tokenizes a single line
public TokenizeLine ( DataDictionary.ModelElement instance, string line, List textParts, List colorizedLocations ) : void
instance DataDictionary.ModelElement
line string
textParts List
colorizedLocations List
리턴 void