Open nkh opened 8 years ago
In addition to being useful, these changes were needed for my own desired addition of toggling tracing at runtime.
My submitted pull request (https://github.com/jnthn/grammar-debugger/pull/41) incorporates these changes, though did not preserve nkh's history due to lack of patience in fixing a complex merge.
Hence this pull request can be closed.
Removed the glyphs
Removed the colored background
Color the Grammar element depending on the match succes or failure
Inline the matched string with the Grammar element on success makes the output almost alf the vertical size makes it easier to match the element to the matched string