Closed dixhuit closed 6 years ago
Keys containing hyphens incorrectly receive 2 colour syntax highlighting.
Example YAML file contents:
no_hyphen: "no hyphen example" single-hyphen: "single hyphen example" multi-hyphen-example: "multi hyphen example"
Expected behavior: All keys receive single colour syntax highlighting.
Actual behavior: Keys with hyphens receive 2 colour syntax highlighting (one colour up to and including the final hyphen and another colour after the final hyphen).
Reproduces how often: 100%
Atom : 1.23.3 Electron: 1.6.15 Chrome : 56.0.2924.87 Node : 7.4.0 apm 1.18.12 npm 3.10.10 node 6.9.5 x64 atom 1.23.3 python 2.7.13 git 2.13.3
OS: macOS 10.11.6
I can't reproduce, so I'm going to assume that this was fixed with my latest bugfixes in Atom 1.25 beta when it is released.
Description
Keys containing hyphens incorrectly receive 2 colour syntax highlighting.
Steps to Reproduce
Example YAML file contents:
Expected behavior: All keys receive single colour syntax highlighting.
Actual behavior: Keys with hyphens receive 2 colour syntax highlighting (one colour up to and including the final hyphen and another colour after the final hyphen).
Reproduces how often: 100%
Versions
Atom : 1.23.3 Electron: 1.6.15 Chrome : 56.0.2924.87 Node : 7.4.0 apm 1.18.12 npm 3.10.10 node 6.9.5 x64 atom 1.23.3 python 2.7.13 git 2.13.3
OS: macOS 10.11.6