-
Notifications
You must be signed in to change notification settings - Fork 237
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
Space between lines after insert text with multiple lines #683
Comments
Further information: Mac OS, JDK1.8 |
I don't think it's an issue with this code. I thought perhaps it might be related to #676, but the line numbers indicate that it's creating multiple paragraphs, not one. What is the text that you are passing into the argument? It seems like it has one two many |
Oh, I think I said it wrong. I don't mean the white space in the code. I mean the 1px high white space between the lines. In the screenshot you can see 1px high white lines which starts at line 9. Have a closure look at the line numbers. There you will see the small distance between the lines best. This behavior was not like this in version 0.7 M5. |
Edit: Maybe lost in translation: by "white space" I don't mean a blank. I mean a distance - a small space - which is just white (as a color) under each line (start at line 9) |
Thanks for the clarification. I reread your comment and I think I understand what you mean now. Since line 10 is the first line to be a blank line, and you mentioned that this occurs when using a String with multiple lines of text, I'd guess it has something to do with that. Here's a few questions that might help narrow this quirk down:
|
Ok, thanks for narrowing the issue down further. Can you create a demo that reproduces the issue? |
@ITrun90 Did you ever figure out what was causing the issue? Or did you ever create a reproducible demo? |
I upgraded from version 0.7 M5 to version 0.8.2 and found that a white space between the lines is created as soon as multi-line text is inserted by replaceText() - method.
You can see it by the line numbers as shown in the screenshot. I have inserted some text by using the replaceText() in line 9. As a result, a white space appeared in the following lines.
I hope I can reproduce this mistake and send you an executable example soon. But maybe you can give me a hint, why this behavior occures and hopefully give me a workaround ;)
The text was updated successfully, but these errors were encountered: