Jump to content

Glenn Dufke

Members
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by Glenn Dufke


  1. 7 hours ago, msohn said:

    Since your post actually made me start doing a Delphi binding,

    I've already made a full binding of the APIs. It isn't published yet, as it is part of my formatter and syntax highlighter product I'm building for Delphi (and C++Builder)

     

     

    On 3/16/2024 at 3:55 PM, Dave Millington (personal) said:

    I have lots of questions - things like, are you using the editor painting API to paint?

    The current editor highlighter toolsapi interface is limited.
    To get the full benefits of the syntax highlighting data tree-sitter can deliver, complete takeover of the editor painting is necessary.

     

    7 hours ago, msohn said:

    And I've noticed that tree-sitter-pascal in its current form could not handle some sources I threw at it

    The grammar for the pascal parser needs an update indeed.

    • Like 2

  2. 1 hour ago, Fred Ahrens said:

    This looks like a rounding problem in the function that calculates the toolbar sections.

    As a workaround you can try to move each section of the toolbar to the right while leaving gaps with some pixels width between all sections. This should avoid the overlapping of sections due to the calculation error and prevent moving toolbar sections to the next free line on the toolbar.
    (not tested just guessed)

    To fix the incorrectly positioned toolbar, do the following:

    • Close the IDE
    • Open registry editor
    • Navigate to HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\22.0
    • Delete the Toolbar node
    • Start the IDE again and it is now reset to default position and scaling.
    • Like 2
    • Thanks 4
×