Help save net neutrality! Learn more.

a little nasty graphical bug of the brackets

  • xsxs

    xsxs - 2014-03-18

    My user-defined language highlights brackets: [] {} (). But if highlighted the e.g. closing bracket is moved a bit to the right and now the cursor seems to be still inside the brackets but actually the next printed char is place right outside the bracket or right of the closing bracket.
    It would be nice if the cursor could be moved to the right as well - just a bit, may be half the size of the bracket?
    I have pictures, but I don't know how to upload them here.

  • cchris

    cchris - 2014-03-22

    For yhe latter point, use the Add Attachments" button. Adding several files is a litttle tricky, but eventually works.
    For the former point, a workaround could be to go to Stylers Configurator, Global styles, and set the font for "Matching braces" the same size and style as the font you use for operators. Changing the font glyph size right under the caret can lead to such glitches. I'd report the bug to Scintilla actually.