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

datetime is not recognized as keyword in SQL Query syntax scheme #1132

Closed
B3PO-Abimator opened this issue Apr 19, 2019 · 4 comments
Closed

Comments

@B3PO-Abimator
Copy link

Steps to repro:

  • Export any table, having datetime columns, from MySQL (or any other db, I guess)
  • Open the dumped sql file in Notepad3

Result:
In column definition datetime is not displayed bold as all the others SQL keywords.

image

@pantantrollo
Copy link

I confirm in versions:

Notepad3 (64-bit) v5.19.108.1602
Notepad3 (64-bit) v5.19.109.1603 Dev_Test_2

snap_screen_20190420162254

@hpwamr
Copy link
Collaborator

hpwamr commented Apr 21, 2019

It's seems to me a "bug" in "Scintilla SQL Lexer" (also reproducible with "SciTE.415").
I have open an issue in "Scintilla Support".

PS: Notepad++ highlights "datetime" but MS Visual Studio Editor "No". 😕

@zufuliu
Copy link

zufuliu commented Apr 22, 2019

hpwamr added a commit that referenced this issue Apr 23, 2019
+ Add  the keyword "datetime" in styleLexSQL (issue #1132)
@hpwamr
Copy link
Collaborator

hpwamr commented Apr 23, 2019

The keyword "datetime" is added.

Feel free to test the beta version: "Notepad3Portable_5.19.423.257_MUI_dev" or higher.
See "Notepad3 beta-channel access #1129" or download it here Notepad3Portable.

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

No branches or pull requests

4 participants