forums › forums › SQLyog › SQLyog: Bugs / Feature Requests › BUG: Syntax Highlighting Repaints Errors in 3.5
- This topic is empty.
-
AuthorPosts
-
-
June 23, 2003 at 3:39 pm #8055mhsaMember
Using 3.5, Win2k, en_US, 1024×768, window is maximized,
When I scroll vertically, and the query text window repaints, the syntax highlighting frequently repaints incorrectly.
When the 17th or 18th lines of the pane contain text in quotes, the text inside the quotes is highlighted according to the syntax rules, while all other text visible in the pane is painted red. When the text is scrolled by one or two more lines, so that the no quotes appear in the 17th and 18th lines, the pane repaints correctly.
-
June 23, 2003 at 4:50 pm #14565mhsaMember
Also, repaint fails to occur (i.e. no syntax highlighting) when CTRL+TABing between two open query windows. The pane only repaints when there is an event that triggers it, e.g. scrolling, pressing an alpha-numberic or symbol key, etc. Arrow keys, home/end do not trigger repainting. Page Up/Down does, however.
-
June 23, 2003 at 4:52 pm #14566mhsaMember
Syntax highlighting does not recognized CONVERT or CAST functions in MySQL.
-
June 24, 2003 at 7:21 am #14567ShadowMember
Well, no sort of things occur to me at all (Win2K, SQLyog 3.5). Syntax highlighting has always been correct. It's true, however, that CAST and CONVERT functions are not reconized, although CONVERT is the ODBC syntax for CAST. The reason for this, I believe, is that both functions were added in MySql 4.0.
-
June 30, 2003 at 2:17 pm #14568mhsaMember
Just upgraded to 3.51 (trial), Win2k, en_US.
Syntax highlighting problems persist. It seems that comments are causing the largest share of the problems.
I have attached a screenshot to illustrate the problems. The only difference between the first (correctly highlighted) screen and the second (incorrectly highlighted) screen is one line of scrolling. When the comment terminator scrolls off-screen, the syntax highlights incorrecrtly. When that line scrolls back into the visible pane, it correctly highlights the syntax.
See attached.
-
-
AuthorPosts
- You must be logged in to reply to this topic.