Esempio n. 1
0
  void cursory(int yoffset) {
    // trace("cursory yoffset = " + yoffset + " fvc " + this);
    // cursor(0,yoffset);

    int newy = inrange(yoffset + fileposy, 1, edvec.readIn() - 1);
    fileposy = newy;
    if (vis) {
      int newx = vi.yCursorChanged(newy);
      fileposx = inrange(newx, 0, edvec.at(fileposy).toString().length());
      if (fileposx != newx)
        UI.popError("cursor wrong permission fileposx " + fileposx + " newx " + newx, null);
    }
  }