this.buffer = buffer;
}
public void gotoUp() {
SimpleNode el = UpdateNodeTask.getInstance().getLastCurrent();
if (el.jjtGetParent().id == ParserTreeConstants.JJTCHORD && el.id == ParserTreeConstants.JJTPITCH) {
ASTChord chord = (ASTChord) el.jjtGetParent();//ignore others in same chord
SimpleNode ret = ((ASTChord) el.jjtGetParent()).getHigherPitch((ASTPitch) el);
if (ret != null) {
NetbeansTextEditor.getInstance().selectPosition(ret);
return;