/[classpath]/classpath/javax/swing/text/GapContent.java
ViewVC logotype

Diff of /classpath/javax/swing/text/GapContent.java

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

revision 1.23 by langel, Wed Sep 7 17:53:01 2005 UTC revision 1.24 by langel, Wed Sep 7 18:07:57 2005 UTC
# Line 114  public class GapContent Line 114  public class GapContent
114       */       */
115      public int getOffset()      public int getOffset()
116      {      {
117        if (mark <= gapStart || mark <= gapEnd)        if (mark <= gapEnd)
118          return mark;          return mark;
119        else        else
120          return mark - (gapEnd - gapStart);          return mark - (gapEnd - gapStart);

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

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