public Regex Clone () { var newRegex = new Regex (); newRegex.Pattern = Pattern; newRegex.patterns = patterns; return newRegex; }
public CodeExpressionSpan (string language) { Rule = "mode:" + language; Begin = new Regex ("<%"); End = new Regex ("<%"); Color = ""; }
public CodeDeclarationSpan (string language) { Rule = "mode:" + language; Begin = new Regex ("<script"); End = new Regex ("</script"); Color = ""; TagColor = "text.markup.tag"; }
public CodeExpressionSpan (string language) { Rule = "mode:" + language; Begin = new Regex ("<%"); End = new Regex ("<%"); Color = "text"; TagColor = "text.markup.tag"; }
public CodeExpressionSpan (string language) { Rule = "mode:" + language; Begin = new Regex ("<%"); End = new Regex ("<%"); Color = "template"; TagColor = "template.tag"; StopAtEol = false; }
public CodeExpressionSpan (string language) { Rule = "mode:" + language; Begin = new Regex ("<%"); End = new Regex ("<%"); Color = "Razor Code"; TagColor = "Html Server-Side Script"; StopAtEol = false; }