Пример #1
0
 private LinxExpression(LinxExpression instance)
 {
     StartIndex     = instance.StartIndex;
     EndIndex       = instance.EndIndex;
     MatchText      = instance.MatchText;
     ExpressionText = instance.ExpressionText;
 }
Пример #2
0
 private bool InLinxExpression(out LinxExpression expression)
 {
     expression = LinxExpression.FindAll(Text).FirstOrDefault(
         item => item.StartIndex <= CaretIndex && item.EndIndex >= CaretIndex);
     return(null != expression);
 }