|
|
|
@ -268,7 +268,7 @@ public class WrappedSyntaxView extends BoxView implements TabExpander,
|
|
|
|
|
if (host.getEOLMarkersVisible()) { |
|
|
|
|
g.setColor(host.getForegroundForTokenType(Token.WHITESPACE)); |
|
|
|
|
g.setFont(host.getFontForTokenType(Token.WHITESPACE)); |
|
|
|
|
g.drawString("\u00B6", x, y-fontHeight); |
|
|
|
|
g.drawString("\u00B6", x, (float) (y-fontHeight)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -458,7 +458,7 @@ public class WrappedSyntaxView extends BoxView implements TabExpander,
|
|
|
|
|
if (host.getEOLMarkersVisible()) { |
|
|
|
|
g.setColor(host.getForegroundForTokenType(Token.WHITESPACE)); |
|
|
|
|
g.setFont(host.getFontForTokenType(Token.WHITESPACE)); |
|
|
|
|
g.drawString("\u00B6", x, y-fontHeight); |
|
|
|
|
g.drawString("\u00B6", x, (float) (y-fontHeight)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -841,10 +841,11 @@ public class WrappedSyntaxView extends BoxView implements TabExpander,
|
|
|
|
|
* @return the tab stop, measured in points >= 0 |
|
|
|
|
*/ |
|
|
|
|
public float nextTabStop(float x, int tabOffset) { |
|
|
|
|
if (tabSize == 0) |
|
|
|
|
if (tabSize == 0) { |
|
|
|
|
return x; |
|
|
|
|
} |
|
|
|
|
int ntabs = ((int) x - tabBase) / tabSize; |
|
|
|
|
return tabBase + ((ntabs + 1) * tabSize); |
|
|
|
|
return (float) (tabBase + ((ntabs + 1) * tabSize)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|