fix syntax highlighting not refreshing on selected text removal
This commit is contained in:
@@ -80,7 +80,7 @@ public:
|
||||
return std::string({first});
|
||||
case '-':
|
||||
skip(1);
|
||||
if (peekNoJump() == '-') {
|
||||
if (hasNext() && peekNoJump() == '-') {
|
||||
skip(1);
|
||||
return "--";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user