Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend ParagraphGraphicFactory to entire window #491

Closed
samczsun opened this issue Apr 17, 2017 · 3 comments
Closed

Extend ParagraphGraphicFactory to entire window #491

samczsun opened this issue Apr 17, 2017 · 3 comments

Comments

@samczsun
Copy link

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 😄.

@JordanMartinez
Copy link
Contributor

Sorry, but I'm having trouble understanding what the issue is.

@TomasMikula
Copy link
Member

TomasMikula commented Apr 17, 2017 via email

@samczsun
Copy link
Author

Ah, that's what I was afraid of. I'll just append extra newlines to the text until I familiarize myself with RichTextFX. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants