java - Is there a way to have a gap between the line separating line numbers and the code? -
In the form of title - I am trying to find a way to make a small difference, say 5 pixels, line Separating line numbers between and in my editor's RCntXtextairea example source code I was seeing the API and did not find anything ...
Note: I am using the latest version of Maven Central- v2.5.3.
Here's a simple demo where you can see how much difference is:
The following simple line increases the difference:
Increase the difference between the (vertical) margin line and the source code. Insets = textArea.getMargin (); TextArea.setMargin (new insets (in.top, in.left + 5, in.bottom, in.right));
Comments
Post a Comment