Commit db8ea8d
Update attribute font locking
Previously, attributes like `[<EntryPoint>]` would lock just fine, while
attributes like `[<Options("arg")>]` would fail to lock at all. This was because
the regex couldn't handle the parens and inner string, so would skip the whole
match.
This commit fixes that, making sure the parens lock in the same face as the rest
of the attribute, while any provided inner properties lock as a string.1 parent 49756cb commit db8ea8d
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | | - | |
| 156 | + | |
| 157 | + | |
159 | 158 | | |
160 | 159 | | |
161 | 160 | | |
| |||
286 | 285 | | |
287 | 286 | | |
288 | 287 | | |
289 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
290 | 292 | | |
291 | 293 | | |
292 | 294 | | |
| |||
0 commit comments