Skip to content

Commit 06dc197

Browse files
committed
Доработано отображение строк для MD 5
1 parent 561f175 commit 06dc197

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

OneScriptBinding/AddinInfo.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
21
using System;
32
using Mono.Addins;
43
using Mono.Addins.Description;
54

65
[assembly:Addin ("OneScriptBinding",
76
Namespace = "OneScript",
8-
Version = MonoDevelop.BuildInfo.Version,
7+
Version = "0.1.0",
98
Category = "Language bindings")]
109

1110
[assembly:AddinName ("OneScript Language Binding")]

OneScriptBinding/OneScriptSyntaxMode.xml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<SyntaxMode name = "OneScript" mimeTypes="text/x-oscript" ignorecase="True">
22
<Property name="LineComment">//</Property>
3-
<Property name="StringQuote">"</Property>
3+
<!-- Property name="StringQuote">"</Property -->
44

55
<EolSpan color = "Preprocessor" rule="text.preprocessor">#</EolSpan>
66
<EolSpan color = "Comment(Line)" rule="Comment">//</EolSpan>
@@ -9,17 +9,14 @@
99
<Begin>/*</Begin>
1010
<End>*/</End>
1111
</Span>
12+
13+
<Match color="String">\|[^"]*($|")</Match>
1214

13-
<Span color = "String" rule="String" stopateol = "true" escape='\"'>
15+
<Span color = "String" rule="String" stopateol = "true">
1416
<Begin>"</Begin>
1517
<End>"</End>
1618
</Span>
1719

18-
<!-- Span color = "String" rule="String" stopateol = "true" escape='\"'>
19-
<Begin firstNonWs="True">||</Begin>
20-
<End>"</End>
21-
</Span -->
22-
2320

2421
<Keywords color = "Keyword(Operator)">
2522
<Word>And</Word>

0 commit comments

Comments
 (0)