Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

gml_string

GML syntax highlighting for games, websites, and more · By YellowAfterlife

#region / #endregion code

A topic by tinkerer.red created Dec 23, 2023 Views: 84 Replies: 1
Viewing posts 1 to 2

There is code for use with regions, how ever it currently has a bug where only the hash is colored, additionally it does not appear that inside `gml_string_hint_locals_hint_locals_pre` the `#region <comment>` is not accounted for when using such syntax as: `#region Example`

Developer

Fixed this in the new version - it was the parser not updating the position after it reads the #region line. gml_string_hint_locals functions are for things that change based on code contents - like local variables or macros.