/[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.1 by rveldema, Mon Mar 11 15:48:06 2002 UTC revision 1.2 by rveldema, Tue Mar 12 11:36:23 2002 UTC
# Line 10  public class GapContent implements Abstr Line 10  public class GapContent implements Abstr
10  {  {
11      StringBuffer buf = new StringBuffer();      StringBuffer buf = new StringBuffer();
12    
13      GapContent()      public GapContent()
14      {      {
15          this(10);          this(10);
16      }      }
17            
18      GapContent(int size)      public GapContent(int size)
19      {      {
20      }      }
21    
# Line 57  public class GapContent implements Abstr Line 57  public class GapContent implements Abstr
57      {      {
58          txt.array = new char[len];          txt.array = new char[len];
59                                    
60          System.arraycopy(buf.getValue(), where,          System.arraycopy(buf.toString().toCharArray(), where,
61                           txt.array, 0,                           txt.array, 0,
62                           len);                           len);
63                    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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