table color in sql edit.
I already updated SynEdit in December, but there are already quite some new commits on its master branch.
Just filed a bug report: https://github.com/SynEdit/SynEdit/issues/28
Lajos-Juhasz commented 6 days ago I noticed this bug yesterday. My solution was to build the list in the temporary stringlist and assign the complete list to the highlighter. Most probably the reason for the slowdown is the TSynSQLSyn.TableNamesChanged.
Maybe we should add BeginTableNamesUpdate/EndTableNameUpdates.
The SynEdit ticket was solved some hours ago!
In my tests I simulated 50000 table names without a notifiable waiting time.
I merged the changes into HeidiSQL in r5111 so you can test yourself.
- if there is a sql query field and the table with the same name, the table highlights the color name.
Well, the highlighter is limited and not quite clever. It cannot detect whether you mean a column name or a table name. The highlighter is not comparable to the complexity of a query parser.
Please login to leave a reply, or register at first.