syntax: Refactor draw_syntax_random and add draw_syntax_texttoken
I realized draw_syntax_classified is the same as draw_syntax_random, so
just merge them.

Also add draw_syntax_texttoken explicitly meant to weed out cases where
token type is not set.
1 parent e322350 commit ac35297b6524327af1f65ef2509ba96c58008af2
@Jookia Jookia authored on 8 Jun 2022
Showing 5 changed files
View
tests/parse/test_clear_notes.py
View
tests/parse/test_note.py
View
tests/parse/test_parse.py
View
tests/test_syntax.py
View
tests/test_tokenize.py