116 |
|
|
117 |
if(offs >= 0 && offs >= start && offs <= end) { |
if(offs >= 0 && offs >= start && offs <= end) { |
118 |
float x = style.getWidth(c.t().substring(start, offs), 1); |
float x = style.getWidth(c.t().substring(start, offs), 1); |
119 |
int cs_cursor = vs.orthoCS(cs, CURS_KEY, -1, x, 0, 0,h); |
int cs_cursor = vs.orthoCS(cs, CURS_KEY, -1, x+1, 0, 0,h); |
120 |
// v.map.put(new TextCursorVob(vob, offs), cs); |
// v.map.put(new TextCursorVob(vob, offs), cs); |
121 |
vs.map.put(cursorVob, cs_cursor); |
vs.map.put(cursorVob, cs_cursor); |
122 |
} |
} |