Skip to content

Extend ParagraphGraphicFactory to entire window #491

@samczsun

Description

@samczsun

I'm not sure if this has already been addressed in a previous issue (I tried searching to no avail), but basically I'm trying to prevent this:

hi

The CodeArea is allocated the entire right side of the window, but since the code isn't long enough the grey line numbers abruptly cuts off, which is mildly infuriating.

The behaviour I'm trying to replicate is what RSyntaxTextArea does:

hi again

I looked through the code which handles the graphics and to be honest it went a bit over my head. Is there any way that I can get this sort of behaviour using RichTextFX? I'm ok with hacky workarounds if that's what
it takes 😄.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions