Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Syntax highlighting stopped after the period separator in DATABASE.TABLENAME syntax. #60

Closed
tfrancois opened this issue Aug 14, 2022 · 2 comments · Fixed by #62
Closed

Comments

@tfrancois
Copy link

tfrancois commented Aug 14, 2022

With the latest release, syntax formatting failed immediately after the period in the first occurrence of the DATABASE.TABLENAME in my SQL code where I was performing a DROP statement prior to a CREATE PROCEDURE

See below for example:

image

Hopefully this issue can be identified and resolved quickly -thank you.

UPDATE: To confirm, the issue does not appear with version @4.1.1 of the library.

@scriptcoded
Copy link
Owner

Thanks for reporting this!

There was a gap in our tests that allowed us to introduce this bug in the last release. I've made a fix and it should be available in https://github.com/scriptcoded/sql-highlight/releases/tag/v4.2.1. Please have a look and make sure everything works as expected! :)

@tfrancois
Copy link
Author

Works perfect! Thank you for the quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants