-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Syntax cheker in Functions editor #5081
Comments
Functions Editor, Collations Editor, Code Snippets - in all these it does not work (at least I checked these). Apparently bracket pair highlighting feature is somehow not active there. Let's keep this issue to track it. |
It works here:
and not here highlightCurrentCursorContext is never called, probably because initCodeEdit is not SqlEditor. |
I've looked into this and yes, you are right about why it doesn't work. I also found out why it is how it is. Functions editor, Collations Editor - they can have different programming language implementations, therefore SqlEditor is not necessarily best fit for all of them. Brackets matching code should ideally be moved out of SqlEditor class and made usable for any syntax highligter (as each function language can provide its own syntax highligter). Syntax Highligters are generic objects for all |
I'm not crawling easily into classes. at this time it is too difficult for me. |
No no, we don't want to reproduce (repeat) such big chunks of code. This needs extraction int separate class and then re-usage from various points. I think it's not a good issue to work on when you're getting familiar with the project. Leave it to me - at least for now. |
Details
It seems that the syntax checker work in all windows except the SQL Functions editor. It don't detect Unbalanced brackets.
Is there a raison to that ?
SQLiteStudio version
3.4.4
The text was updated successfully, but these errors were encountered: