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

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

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

revision 1.7.2.3 by gnu_andrew, Sun Jan 16 15:15:13 2005 UTC revision 1.7.2.4 by gnu_andrew, Sat Jan 22 02:20:02 2005 UTC
# Line 375  public class DefaultEditorKit extends Ed Line 375  public class DefaultEditorKit extends Ed
375      StringBuffer content = new StringBuffer();      StringBuffer content = new StringBuffer();
376    
377      while ((line = reader.readLine()) != null)      while ((line = reader.readLine()) != null)
378        content.append(line);        {
379            content.append(line);
380            content.append("\n");
381          }
382            
383      document.insertString(offset, content.toString(),      document.insertString(offset, content.toString(),
384                            SimpleAttributeSet.EMPTY);                            SimpleAttributeSet.EMPTY);

Legend:
Removed from v.1.7.2.3  
changed lines
  Added in v.1.7.2.4

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