Пример #1
0
 public Transform(EPattern patn_type, string expr, string replace) : base(patn_type, expr)
 {
     Subs             = new Dictionary <string, ITransformSubstitution>();
     Replace          = replace;
     PropertyChanged += HandlePatternChanged;
     UpdateSubs();
 }
Пример #2
0
 public AlignPattern(EPattern type, string expr, int offset = 0, int min_width = 0, string comment = "")
     : base(type, expr)
 {
     Offset   = offset;
     MinWidth = min_width;
     Comment  = comment;
 }
Пример #3
0
 public Pattern(EPattern patn_type, string expr)
 {
     m_expr     = expr;
     PatnType   = patn_type;
     IgnoreCase = false;
     Active     = true;
     Invert     = false;
     WholeLine  = false;
     SingleLine = false;
 }
Пример #4
0
 public HLPattern(Color bk, Color fr, EPattern patn_type, string expr)
     : base(patn_type, expr)
 {
     BackColour = bk;
     ForeColour = fr;
 }