Hi Dante,

On Tue, Jan 26, 2021 at 08:35:07PM +0100, Dante Doménech 
<dante19031...@gmail.com> wrote:
> I'm working on a simple starmath syntax highlighter over here:
> https://gerrit.libreoffice.org/c/core/+/109639
> There's a little bit more work to do finding the node on which the cursor
> is placed, so don't get alarmed with SmNode* brace1 = nullptr; if(brace1 !=
> nullptr).
> 
> The point: with the syntax highlight the cursor feels wrong. Also it won't
> update after moving the cursor. So my guess is I made a wrong choice for
> putting LaunchHightlightSyntax(); I need help in order to find the right
> position for it.
> It does build, so can be downloaded and tested because "cursor feels wrong"
> means something is wrong but can't tell what.

Did you try to compare your code with the basic IDE syntax highlight
code? Perhaps that would give you a tip how to use the API correctly.

Regards,

Miklos
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to