-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Mnemnonics To Assembler Highlighting
- Loading branch information
Showing
8 changed files
with
107 additions
and
44 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0"?> | ||
<SyntaxDefinition name="Custom Highlighting" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008"> | ||
<Color name="Comment" foreground="Green" /> | ||
<Color name="String" foreground="Blue" /> | ||
|
||
<!-- This is the main ruleset. --> | ||
<RuleSet> | ||
<Span color="Comment" begin="//" /> | ||
<Span color="Comment" multiline="true" begin="/\*" end="\*/" /> | ||
|
||
<!-- Digits --> | ||
<Rule foreground="DarkBlue"> | ||
\b0[xX][0-9a-fA-F]+ # hex number | ||
| \b | ||
( \d+(\.[0-9]+)? #number with optional floating point | ||
| \.[0-9]+ #or just starting with floating point | ||
) | ||
([eE][+-]?[0-9]+)? # optional exponent | ||
</Rule> | ||
</RuleSet> | ||
</SyntaxDefinition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters