Commit graph

3 commits

Author SHA1 Message Date
eelke
8ea0cd8285 Improved parser for syntax highlighting. Also added even more keywords (all from appendix C of the postgresql docs are included now) 2017-02-09 21:54:31 +01:00
eelke
8026b5b0fa Added a bunch of SQL keywords to the syntax highlighter. 2017-02-09 18:27:17 +01:00
Eelke Klein
37e8882a3c New syntax highlighter not complete.
- Supports comments
- more efficient as it scans the text block instead of repeatedly searching throught the whole block
- type matching based on catalog (but need to add aliases manually)
- added many keywords

todo:
- heap corruption bug
- symbol stops at special char like parenthese or operator or something similar.
2017-02-07 21:39:45 +01:00