Sasan Hezarkhani
30db7813de
HackStudio: Fixes CppLexer crashing on a comment block that does
...
not end.
CppLexer expected that `/*` always has `*/` at the end. This PR
fixes the issue and assumes the rest of file is a comment.
2019-12-02 09:23:47 +01:00
Andreas Kling
ed242d538a
HackStudio: Assorted improvements to C++ highlighting
...
Add a list of hard-coded standard types (including AK types) and show
them in a different style.
Rehighligt the file whenever it changes. (This is very inefficient but
makes it much easier to experiment.)
Also keep tweaking the colors. :^)
2019-10-26 10:33:50 +02:00
Andreas Kling
5e5a7fbd40
HackStudio: Teach the C++ lexer about most C++ keywords
...
Also fix broken "/* */" comment handling.
2019-10-25 21:58:40 +02:00
Andreas Kling
0604fcf9fd
HackStudio: Make CppTokens have (line,column) positions
...
These are infinitely more useful than raw indices into the input text.
2019-10-25 21:07:45 +02:00
Andreas Kling
307cbf83c3
HackStudio: Start building a C++ lexer to help with syntax highlighting
2019-10-25 19:52:44 +02:00