Skip to content

Commit

Permalink
feature: improve highlighting for not equal
Browse files Browse the repository at this point in the history
  • Loading branch information
levivilet committed Apr 8, 2024
1 parent f96c531 commit 4d1ea98
Show file tree
Hide file tree
Showing 2,249 changed files with 134,428 additions and 15,395 deletions.
2 changes: 1 addition & 1 deletion src/tokenizeJava.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const RE_KEYWORD =
const RE_WHITESPACE = /^\s+/
const RE_VARIABLE_NAME = /^[a-zA-Z\_\$]+/
const RE_VARIABLE_NAME_CLASS = /^[A-Z\_\$][a-zA-Z\_\$]+(?=\s+)/
const RE_PUNCTUATION = /^[:,;\{\}\[\]\.=\(\)>\|\-\*\+\:\<\>]/
const RE_PUNCTUATION = /^[:,;\{\}\[\]\.=\(\)>\|\-\*\+\:\<\>\!]/
const RE_QUOTE_SINGLE = /^'/
const RE_QUOTE_DOUBLE = /^"/
const RE_STRING_SINGLE_QUOTE_CONTENT = /^[^']+/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,15 @@ Function
Punctuation
Punctuation
Whitespace
Text
Punctuation
Punctuation
Whitespace
VariableName
Punctuation
Function
Punctuation
Punctuation
Punctuation
NewLine
Whitespace
Punctuation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,19 @@ Whitespace
Punctuation
VariableName
Whitespace
Text
Punctuation
Punctuation
Whitespace
Punctuation
Numeric
Punctuation
Whitespace
Punctuation
Whitespace
Punctuation
String
Punctuation
Punctuation
NewLine
Whitespace
KeywordReturn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,11 @@ Whitespace
KeywordControl
Whitespace
Punctuation
Text
Punctuation
VariableName
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
KeywordReturn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,13 @@ Function
Punctuation
Punctuation
Whitespace
Text
Punctuation
Punctuation
Whitespace
Numeric
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
KeywordControl
Expand Down Expand Up @@ -582,6 +588,11 @@ Whitespace
Punctuation
VariableName
Whitespace
Punctuation
Punctuation
Whitespace
LanguageConstant
Whitespace
Text
NewLine
Whitespace
Expand Down Expand Up @@ -611,7 +622,13 @@ Function
Punctuation
Punctuation
Whitespace
Text
Punctuation
Punctuation
Whitespace
LanguageConstant
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
Comment
Expand Down Expand Up @@ -878,7 +895,10 @@ Function
Punctuation
Punctuation
Whitespace
Text
Punctuation
Punctuation
Whitespace
LanguageConstant
NewLine
Whitespace
Punctuation
Expand All @@ -890,7 +910,10 @@ Function
Punctuation
Punctuation
Whitespace
Text
Punctuation
Punctuation
Whitespace
LanguageConstant
NewLine
Whitespace
Punctuation
Expand All @@ -902,7 +925,13 @@ Function
Punctuation
Punctuation
Whitespace
Text
Punctuation
Punctuation
Whitespace
LanguageConstant
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
KeywordControl
Expand Down Expand Up @@ -1322,7 +1351,14 @@ NewLine
Whitespace
Function
Punctuation
Text
Punctuation
VariableName
Punctuation
Function
Punctuation
Punctuation
Punctuation
Punctuation
NewLine
Whitespace
KeywordControl
Expand Down Expand Up @@ -2013,7 +2049,15 @@ Whitespace
KeywordControl
Whitespace
Punctuation
Text
Punctuation
VariableName
Punctuation
Function
Punctuation
Punctuation
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
Comment
Expand Down Expand Up @@ -2059,7 +2103,13 @@ Whitespace
KeywordControl
Whitespace
Punctuation
Text
Punctuation
Function
Punctuation
Punctuation
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
VariableName
Expand Down Expand Up @@ -2146,7 +2196,15 @@ Whitespace
KeywordControl
Whitespace
Punctuation
Text
Punctuation
VariableName
Punctuation
Function
Punctuation
Punctuation
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
Function
Expand Down Expand Up @@ -2189,7 +2247,15 @@ Whitespace
KeywordControl
Whitespace
Punctuation
Text
Punctuation
VariableName
Punctuation
Function
Punctuation
Punctuation
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
VariableName
Expand Down Expand Up @@ -2869,7 +2935,15 @@ Whitespace
KeywordControl
Whitespace
Punctuation
Text
Punctuation
VariableName
Punctuation
Function
Punctuation
Punctuation
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
KeywordReturn
Expand Down Expand Up @@ -3499,7 +3573,13 @@ Function
Punctuation
Punctuation
Whitespace
Text
Punctuation
Punctuation
Whitespace
VariableName
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
VariableName
Expand Down Expand Up @@ -3632,7 +3712,13 @@ Whitespace
Punctuation
VariableName
Whitespace
Text
Punctuation
Punctuation
Whitespace
LanguageConstant
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
KeywordControl
Expand All @@ -3659,6 +3745,11 @@ Function
Punctuation
Punctuation
Whitespace
Punctuation
Punctuation
Whitespace
Class
Whitespace
Text
NewLine
Whitespace
Expand Down Expand Up @@ -3762,7 +3853,16 @@ Whitespace
KeywordControl
Whitespace
Punctuation
Text
Punctuation
VariableName
Punctuation
Function
Punctuation
VariableName
Punctuation
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
VariableName
Expand Down Expand Up @@ -4825,7 +4925,13 @@ Whitespace
Punctuation
VariableName
Whitespace
Text
Punctuation
Punctuation
Whitespace
LanguageConstant
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
Keyword
Expand Down Expand Up @@ -4967,7 +5073,13 @@ Function
Punctuation
Punctuation
Whitespace
Text
Punctuation
Punctuation
Whitespace
VariableName
Punctuation
Whitespace
Punctuation
NewLine
Whitespace
VariableName
Expand Down Expand Up @@ -5004,7 +5116,11 @@ Function
Punctuation
Punctuation
Whitespace
Text
Punctuation
Punctuation
Whitespace
VariableName
Punctuation
NewLine
Whitespace
Text
Expand Down
Loading

0 comments on commit 4d1ea98

Please sign in to comment.