Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix region section not ignoring #region and #endregion when in a string #89242

Merged
merged 1 commit into from
Mar 11, 2024

Commits on Mar 11, 2024

  1. 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 godotengine#89115.
    RafaelRain18 committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    8c36282 View commit details
    Browse the repository at this point in the history