diff options
author | Rafael Chuva <rafael.chuva@tecnico.ulisboa.pt> | 2024-03-07 03:10:17 +0000 |
---|---|---|
committer | Rafael Chuva <rafael.chuva@tecnico.ulisboa.pt> | 2024-03-11 00:04:39 +0000 |
commit | 8c36282febcde3a417d8ed3a8f5996c285829abd (patch) | |
tree | 18c857c15468de2fcd692d520383737a01244e93 /modules/gdscript/tests/scripts/parser/features/class_inheritance.gd | |
parent | 810f127022ec2cbfb288e436151d1a777c7b5da7 (diff) | |
download | redot-engine-8c36282febcde3a417d8ed3a8f5996c285829abd.tar.gz |
Fix region section not ignoring #region and #endregion when in a string
When using the script editor, if the keywords #region and #endregion where
in a string and ate the start of the line, the editor would not ignore them
and count them as the actual keywords, which when folded, would only fold
until the first #endregion in a string, for example.
By checking if these keywords were in a string, this commit now ensures the
editor ignores strings and fold the section correctly.
Fixes #89115.
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/features/class_inheritance.gd')
0 files changed, 0 insertions, 0 deletions