Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.54k stars 173 forks source link

SQL Lexer doesn't work for multi-line comments #4900

Closed paolo-rossi closed 1 year ago

paolo-rossi commented 1 year ago

The SQL Lexer desn't work for multi-line comments

/*
  Multiline Comment
/*

I tried changing the regex in SQL.cuda-litelexer with no luck.

Thanks.

Alexey-T commented 1 year ago

Reason: it is LITE lexer. https://wiki.freepascal.org/CudaText#Lite_lexers

Alexey-T commented 1 year ago

You still can install SQL normal lexer from Addons Manager.

paolo-rossi commented 1 year ago

Thank you Alexey,

installed the normal lexer and now it works as expected!

BTW, kudos for this very interesting and useful project!

Paolo.

Alexey-T commented 1 year ago

Thank you. we need to spread the word...