Unsupported Screen Size: The viewport size is too small for the theme to render properly.

BUG: Syntax Highlighting Repaints Errors in 3.5

forums forums SQLyog SQLyog: Bugs / Feature Requests BUG: Syntax Highlighting Repaints Errors in 3.5

  • This topic is empty.
Viewing 4 reply threads
  • Author
    Posts
    • #8055
      mhsa
      Member

      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.

    • #14565
      mhsa
      Member

      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.

    • #14566
      mhsa
      Member

      Syntax highlighting does not recognized CONVERT or CAST functions in MySQL.

    • #14567
      Shadow
      Member

      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.

    • #14568
      mhsa
      Member

      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.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.