python-editor-v3
python-editor-v3 copied to clipboard
Highlight incorrect indentation in red
Highlight incorrect indentation in some shade of red with some amount of opacity in an attempt to make indentation errors more recognisable and easier to fix.
E.g.:
We won't know the users intentions, so we need to decide whether we highlight all preceding space in red, or just the minimum amount of preceding space that makes the indentation invalid.
I think it should be the latter - IE "just the minimum amount of preceding space that makes the indentation invalid."
One to discuss as I'm not sure whether or not we still have consensus here.