donphelix commented on code in PR #9002:
URL: https://github.com/apache/netbeans/pull/9002#discussion_r2517127648
##########
ide/diff/src/org/netbeans/modules/diff/builtin/visualizer/LinesComponent.java:
##########
@@ -288,19 +291,19 @@ private void updateState(Graphics g) {
setLineNumberDigitWidth(maxWidth);
// System.out.println("maxwidth=" + maxWidth);
// System.out.println("numner of lines=" + highestLineNumber);
-
+
resize();
}
-
+
protected void resize() {
Dimension dim = new Dimension();
// System.out.println("resizing...................");
dim.width = getWidthDimension();
dim.height = getHeightDimension();
- // enlarge the gutter so that inserting new lines into
+ // enlarge the gutter so that inserting new lines into
Review Comment:
@eirikbakke The PR is larger than needed due to formatting changes in
unrelated sections. Please limit edits to only the necessary functional changes
to avoid cascading reformatting by future contributors.
cc @matthiasblaesing
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists