コード例 #1
0
ファイル: Regex.cs プロジェクト: Kalnor/monodevelop
		public Regex Clone ()
		{
			var newRegex = new Regex ();
			newRegex.Pattern = Pattern;
			newRegex.patterns = patterns;
			return newRegex;
		}
コード例 #2
0
				public CodeExpressionSpan (string language)
				{
					Rule = "mode:" + language;
					Begin = new Regex ("<%");
					End = new Regex ("<%");
					Color = "";
				}
コード例 #3
0
				public CodeDeclarationSpan (string language)
				{
					Rule = "mode:" + language;
					Begin = new Regex ("<script");
					End = new Regex ("</script");
					Color = "";
					TagColor = "text.markup.tag";
				}
コード例 #4
0
				public CodeExpressionSpan (string language)
				{
					Rule = "mode:" + language;
					Begin = new Regex ("<%");
					End = new Regex ("<%");
					Color = "text";
					TagColor = "text.markup.tag";
				}
コード例 #5
0
				public CodeExpressionSpan (string language)
				{
					Rule = "mode:" + language;
					Begin = new Regex ("<%");
					End = new Regex ("<%");
					Color = "template";
					TagColor = "template.tag";
					StopAtEol = false;
				}
コード例 #6
0
				public CodeExpressionSpan (string language)
				{
					Rule = "mode:" + language;
					Begin = new Regex ("<%");
					End = new Regex ("<%");
					Color = "Razor Code";
					TagColor = "Html Server-Side Script";
					StopAtEol = false;
				}