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

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

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

revision 1.8 by mark, Thu Jul 22 19:45:39 2004 UTC revision 1.9 by mark, Sat Jul 31 23:24:23 2004 UTC
# Line 133  public abstract class AbstractDocument Line 133  public abstract class AbstractDocument
133    protected void fireUndoableEditUpdate(UndoableEditEvent event)    protected void fireUndoableEditUpdate(UndoableEditEvent event)
134    {    {
135      UndoableEditListener[] listeners = getUndoableEditListeners();      UndoableEditListener[] listeners = getUndoableEditListeners();
136        
137      for (int index = 0; index < listeners.length; ++index)      for (int index = 0; index < listeners.length; ++index)
138        listeners[index].undoableEditHappened(event);        listeners[index].undoableEditHappened(event);
139    }    }
# Line 199  public abstract class AbstractDocument Line 199  public abstract class AbstractDocument
199    }    }
200    
201    public String getText(int offset, int length) throws BadLocationException    public String getText(int offset, int length) throws BadLocationException
202        {    {
203          return content.getString(offset, length);      return content.getString(offset, length);
204        }    }
205    
206    public void getText(int offset, int length, Segment txt)    public void getText(int offset, int length, Segment txt)
207      throws BadLocationException      throws BadLocationException

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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