Skip to content

Cursor offset for highlighted blocks in HighlightTextArea wrong #306

Open
@Teekeks

Description

@Teekeks

If I have multible Highlighted areas in a HighlightTextArea on the same line, the cursor position gets offset to the left a bit more per block.

Code Example for reproduction: https://pastebin.com/vnYv9qg2

Used Java version: JavaSE11
used libGDX version: 1.9.9 with lwjgl3 backend
Used visUI version: 1.4.2

In the attached screenshot you can see that the cursor is offset way off to the right even tho the cursor position is at the end of the line which is right behind the word "false" (there are no spaces after that).
20190504160646_1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions