fix, highlighting of q"()" strings

This commit is contained in:
Basile Burg 2020-11-17 06:36:09 +01:00
parent a070a21165
commit 0408b6dd00
2 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,7 @@ See [LDC announcement](https://forum.dlang.org/post/ssvxmrdpklhsrqlgrzas@forum.d
## Bugs fixed ## Bugs fixed
- Messages, when selected, the recently added _Search Results_ category could not be emptied. - Messages, when selected, the recently added _Search Results_ category could not be emptied.
- Highlighter, `q"()"`, `q"[]"`, `q"<>"`, `q"{}>"` strings highlighting was broken.
# v3.9.8 # v3.9.8

View File

@ -143,6 +143,7 @@ begin
nestedQGeStrings:= rng.nestedQGeStrings; nestedQGeStrings:= rng.nestedQGeStrings;
nestedQParensStrings := rng.nestedQParensStrings; nestedQParensStrings := rng.nestedQParensStrings;
nestedQSquareStrings := rng.nestedQSquareStrings; nestedQSquareStrings := rng.nestedQSquareStrings;
nestedQCurlyStrings := rng.nestedQCurlyStrings;
end; end;
end; end;
@ -176,6 +177,10 @@ begin
inherited; inherited;
nestedCommentsCount := 0; nestedCommentsCount := 0;
namedRegionCount := 0; namedRegionCount := 0;
nestedQGeStrings:= 0;
nestedQParensStrings := 0;
nestedQSquareStrings := 0;
nestedQCurlyStrings := 0;
rangeKinds := []; rangeKinds := [];
rString := false; rString := false;
end; end;
@ -187,6 +192,10 @@ begin
nestedCommentsCount := source.nestedCommentsCount; nestedCommentsCount := source.nestedCommentsCount;
namedRegionCount := source.namedRegionCount; namedRegionCount := source.namedRegionCount;
rangeKinds := source.rangeKinds; rangeKinds := source.rangeKinds;
nestedQGeStrings:= source.nestedQGeStrings;
nestedQParensStrings := source.nestedQParensStrings;
nestedQSquareStrings := source.nestedQSquareStrings;
nestedQCurlyStrings := source.nestedQCurlyStrings;
rString := source.rString; rString := source.rString;
end; end;
end; end;