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
- 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

View File

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