joyofelixir
joyofelixir copied to clipboard
code highlighting with little issues
In chapter 8 we see a code snippet where suddenly strings inside strings become highlighted or that numbers part of strings are displayed in yellow.
The highlighting function should check if '
are not directly preceded by letters and if numbers
are not just placed before or after any non-numerical chars as we therefore are inside a string.