FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

hrm... · simoncev/processing@9b725a2 · GitHub

Repository navigation

Commit 9b725a2

Browse files
committed
hrm...
1 parent f6d8e18 commit 9b725a2

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎java/src/processing/mode/java/pdex/JavaTextAreaPainter.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
import javax.swing.text.Segment;
4747
import javax.swing.text.Utilities;
4848

49-
import processing.app.Messages;
5049
import processing.app.Mode;
5150
import processing.app.SketchCode;
5251
import processing.app.syntax.SyntaxDocument;
@@ -183,6 +182,8 @@ protected void paintLeftGutter(Graphics gfx, int line, int x) {
183182
//text = makeOSF(String.valueOf(line + 1));
184183

185184
gfx.setFont(gutterTextFont);
185+
// ((Graphics2D) gfx).setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
186+
// RenderingHints.VALUE_TEXT_ANTIALIAS_OFF);
186187
// Right-align the text
187188
char[] txt = text.toCharArray();
188189
int tx = textRight - gfx.getFontMetrics().charsWidth(txt, 0, txt.length);

‎todo.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
0252 (3.1.3?)
22
_ modify line number color when no lines extend that far?
33
_ https://github.com/processing/processing/pull/4560
4+
_ text gutter doesn't seem to be hidpi
5+
X or is it b/c screen not quite 2x? (nope)
46
_ swap out the fonts?
57

68
contrib

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL