mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
maybe #342 is mostly that the sign is wrong here?
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user