maybe #342 is mostly that the sign is wrong here?

This commit is contained in:
Ben Fry
2022-01-19 22:22:42 -05:00
parent bdb66d2ad5
commit 09fb90a023

View File

@@ -1381,7 +1381,7 @@ public class JEditTextArea extends JComponent
getPartialPixelWidth(metrics, x, expander, startOffset) * s.length();
return Math.round(
Utilities.getTabbedTextWidth(s, metrics, x, expander, startOffset) + additionalOffset
Utilities.getTabbedTextWidth(s, metrics, x, expander, startOffset) - additionalOffset
);
}