C# Class ModernizedAlice.ArtOfWords.BizCommon.Model.Marks.MarkManagementStrategy.CharacterMarkManagementStrategy

Mostra file Open project: kienaiProject/ArtOfWords

Public Methods

Method Description
AddCharacterMark ( int head, int tail, CharacterModel model ) : void
AddCharacterMark ( string text, int index, CharacterModel model ) : void
AddMark ( string text, int index, IMarkable targetMark ) : bool

Private Methods

Method Description
GetLineHead ( string text, int index ) : int
GetLineTail ( string text, int index ) : int
GetTailBracket ( char headBracket ) : char
HasBracketHead ( string text, int headOfLine, int tailOfLine, int &bracketIndex ) : bool
HasBracketTail ( string text, int headOfLine, int tailOfLine, char tail, int &bracketIndex ) : bool
IsBracketHead ( char ch ) : bool

Method Details

AddCharacterMark() public static method

public static AddCharacterMark ( int head, int tail, CharacterModel model ) : void
head int
tail int
model ModernizedAlice.ArtOfWords.BizCommon.Model.Character.CharacterModel
return void

AddCharacterMark() public static method

public static AddCharacterMark ( string text, int index, CharacterModel model ) : void
text string
index int
model ModernizedAlice.ArtOfWords.BizCommon.Model.Character.CharacterModel
return void

AddMark() public static method

public static AddMark ( string text, int index, IMarkable targetMark ) : bool
text string
index int
targetMark IMarkable
return bool