Math2mat

/home/ythoma/docs/math2mat/svn/wp1/framework/m2mGUI/src/m2m/frontend/actions/TextChange.java

Go to the documentation of this file.
00001 
00020 package m2m.frontend.actions;
00021 
00022 public class TextChange {
00023         // The starting offset of the change
00024         private int start;
00025         
00026         // The length of the change
00027         private int length;
00028         
00029         // The replaced text
00030         String replacedText;
00031         
00042         public TextChange(int start, int length, String replacedText) {
00043                 this.start = start;
00044                 this.length = length;
00045                 this.replacedText = replacedText;
00046         }
00047         
00053         public int getStart() {
00054                 return start;
00055         }
00056         
00062         public int getLength() {
00063                 return length;
00064         }
00065         
00071         public String getReplacedText() {
00072                 return replacedText;
00073         }
00074 }
 All Classes Namespaces Files Functions Variables Enumerations