public void textChange()
{ int x, y;
int l, c, i;
;
super();
[x, y] = this.getCursorPos();
i = 4;
if ((x - 4) mod 6 == 0)
{
i = 6;
}
c = (x - 4) / i; //Column Number
l = (y - 1) / 13; //Line Number
Column.text(int2str(c)); //Line Number
Line.text(int2str(l)); // Column Number
}
No comments:
Post a Comment