Example #1
0
 public void Evaluate(int SpreadMax)
 {
     for (int i = 0; i < SpreadMax; i++)
     {
         TextStyleBase ts = this.CreateStyle(i);
         ts.Range         = new TextRange(from[i], length[i]);
         ts.Enabled       = this.enabled[i];
         this.styleOut[i] = ts;
     }
 }
Example #2
0
 public ITextSegmentStyled CreateStyledTextSegment(TextStyleBase style)
 {
     return(this.TextDocument.CreateStyledTextSegment(style));
 }
Example #3
0
 public void AddStyle(TextStyleBase anchorStyle)
 {
     this._textStyles.Add(anchorStyle);
 }
Example #4
0
 public TextStyleDisplayMode GetDisplayMode(TextStyleBase textStyle)
 {
     return(TextStyleDisplayMode.Unspecified);
 }
 public override ITextSegmentStyled CreateStyledTextSegment(TextStyleBase style)
 {
     return(new TextAnchor(style));
 }
 public TextAnchor(TextStyleBase style)
 {
     this.Style = style;
 }