-
Notifications
You must be signed in to change notification settings - Fork 236
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
Comments
Sorry, but I'm having trouble understanding what the issue is. |
You could try to set the background so that the result looks the way you
want.
ParagraphGraphicFactory applies only to paragraphs (lines), an there are no
empty paragraphs inserted to fill the viewport height.
…On Apr 16, 2017 10:41 PM, "Sam Sun" ***@***.***> wrote:
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:
[image: hi]
<https://camo.githubusercontent.com/548450700a4b9fe877fb3430a2dc5f4d8819a6dd/68747470733a2f2f636c6f75642e73616d637a73756e2e636f6d2f623832656134396237362e706e67>
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:
[image: hi again]
<https://camo.githubusercontent.com/5939a9a761b1937ae18a15ddd842c1b421e9b194/68747470733a2f2f636c6f75642e73616d637a73756e2e636f6d2f333331653238623633642e706e67>
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 😄.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#491>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAadHzK4Wh0eMtmg-fcrVYJ70Yr176tzks5rwtFbgaJpZM4M-0YZ>
.
|
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
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:
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:
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 😄.
The text was updated successfully, but these errors were encountered: