Squalr / Squally

2D Platformer Educational Game for Teaching Game Hacking - C++/cocos2d-x
https://store.steampowered.com/app/770200/Squally/
Mozilla Public License 2.0
461 stars 58 forks source link

Syntax Highlighting for Floats Doesn't Capture Negative Sign #142

Closed zcanann closed 1 year ago

zcanann commented 4 years ago

In the string "-1.0f", only the "1.0f" gets syntax highlighting. The negative sign should get captured too.

See: CodeWindow.cpp, specifically where CodeWindow::NumberColor is assigned. Somehow the token does not include the negative, needs some investigating.

zcanann commented 1 year ago

Not being tracked here anymore