/[gzz]/gzz/gzz/view/TextCellContentView.java
ViewVC logotype

Diff of /gzz/gzz/view/TextCellContentView.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by humppake, Mon Nov 18 10:28:16 2002 UTC revision 1.25 by benja, Sat Nov 23 12:24:58 2002 UTC
# Line 116  public static final String rcsid = "$Id$ Line 116  public static final String rcsid = "$Id$
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          }          }

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26