diff options
| author | Avi Levkovich <avi@twine-s.com> | 2020-07-27 15:27:15 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2020-07-27 15:27:15 +0300 |
| commit | 6254901a4ad1e1198a51c14d7500f51e9b5a50cd (patch) | |
| tree | 93961896d75f61b3e7f1b41de727c8282582c550 /Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting | |
| parent | 6328230a31717cf1c7989b48244b8e23fd8b4f25 (diff) | |
| parent | e3bdc83a7be6206ab11dca8c08f1eec896a6d604 (diff) | |
| download | Tango-6254901a4ad1e1198a51c14d7500f51e9b5a50cd.tar.gz Tango-6254901a4ad1e1198a51c14d7500f51e9b5a50cd.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting')
3 files changed, 8 insertions, 15 deletions
diff --git a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/OffsetColorizer.cs b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/OffsetColorizer.cs index a05d1fc75..72c27f9a9 100644 --- a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/OffsetColorizer.cs +++ b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/OffsetColorizer.cs @@ -30,7 +30,7 @@ namespace Tango.Scripting.Editors.Highlighting { try { - ChangeLinePart(StartOffset, EndOffset, element => element.TextRunProperties.SetForegroundBrush(Brush)); + ChangeLinePart(StartOffset, EndOffset, element => element.TextRunProperties.SetBackgroundBrush(Brush)); } catch { } } diff --git a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/Resources/MarkDown-Mode.xshd b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/Resources/MarkDown-Mode.xshd index ead5045ab..8e02db898 100644 --- a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/Resources/MarkDown-Mode.xshd +++ b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/Resources/MarkDown-Mode.xshd @@ -5,7 +5,6 @@ <Color name="StrongEmphasis" fontWeight="bold" exampleText="**this** is more important!" /> <Color name="Code" exampleText="this is `int.GetHashCode()`" /> <Color name="BlockQuote" foreground="DarkBlue" exampleText="> This is a\r\n> quote." /> - <Color name="Link" foreground="Blue" exampleText="[text](http://example.com)" /> <Color name="Image" foreground="Green" exampleText="[text][http://example.com/test.png]" /> <Color name="LineBreak" background="LightGray" exampleText="end of line \r\n2nd line " /> @@ -43,12 +42,6 @@ <Rule color="Image"> \!\[.*\]\[.*\] </Rule> - <Rule color="Link"> - \[.*\]\(.*\) - </Rule> - <Rule color="Link"> - \[.*\]\[.*\] - </Rule> <Rule color="LineBreak"> [ ]{2}$ </Rule> diff --git a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/Resources/XML-Mode.xshd b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/Resources/XML-Mode.xshd index 8f0bdef76..50fdc0e2c 100644 --- a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/Resources/XML-Mode.xshd +++ b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Highlighting/Resources/XML-Mode.xshd @@ -1,13 +1,13 @@ <SyntaxDefinition name="XML" extensions=".xml;.xsl;.xslt;.xsd;.manifest;.config;.addin;.xshd;.wxs;.wxi;.wxl;.proj;.csproj;.vbproj;.ilproj;.booproj;.build;.xfrm;.targets;.xaml;.xpt;.xft;.map;.wsdl;.disco;.ps1xml;.nuspec" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008"> <Color foreground="Green" name="Comment" exampleText="<!-- comment -->" /> - <Color foreground="Blue" name="CData" exampleText="<![CDATA[data]]>" /> - <Color foreground="Blue" name="DocType" exampleText="<!DOCTYPE rootElement>" /> - <Color foreground="Blue" name="XmlDeclaration" exampleText='<?xml version="1.0"?>' /> - <Color foreground="DarkMagenta" name="XmlTag" exampleText='<tag attribute="value" />' /> - <Color foreground="Red" name="AttributeName" exampleText='<tag attribute="value" />' /> - <Color foreground="Blue" name="AttributeValue" exampleText='<tag attribute="value" />' /> + <Color foreground="#3F92D6" name="CData" exampleText="<![CDATA[data]]>" /> + <Color foreground="#C8C8C7" name="DocType" exampleText="<!DOCTYPE rootElement>" /> + <Color foreground="#3F92D6" name="XmlDeclaration" exampleText='<?xml version="1.0"?>' /> + <Color foreground="#3F92D6" name="XmlTag" exampleText='<tag attribute="value" />' /> + <Color foreground="#92CAF4" name="AttributeName" exampleText='<tag attribute="value" />' /> + <Color foreground="#C8C8C7" name="AttributeValue" exampleText='<tag attribute="value" />' /> <Color foreground="Teal" name="Entity" exampleText="index.aspx?a=1&amp;b=2" /> - <Color foreground="Olive" name="BrokenEntity" exampleText="index.aspx?a=1&b=2" /> + <Color foreground="Red" name="BrokenEntity" exampleText="index.aspx?a=1&b=2" /> <RuleSet> <Span color="Comment" multiline="true"> |
