jscl.editor.ParagraphView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meditor Show documentation
Show all versions of meditor Show documentation
java symbolic computing library and mathematical editor
The newest version!
package jscl.editor;
import javax.swing.text.Element;
class ParagraphView extends javax.swing.text.ParagraphView {
public ParagraphView(Element elem) {
super(elem);
}
@Override
public float nextTabStop(float x, int tabOffset) {
return getTabBase() + (((int)x / 64 + 1) * 64);
}
}