/[fenfire]/fenfire/org/fenfire/util/AlphContent.java
ViewVC logotype

Diff of /fenfire/org/fenfire/util/AlphContent.java

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

revision 1.16 by tjl, Wed Sep 10 13:28:24 2003 UTC revision 1.17 by tjl, Thu Oct 23 19:09:57 2003 UTC
# Line 37  import java.io.*; Line 37  import java.io.*;
37   */   */
38  public class AlphContent {  public class AlphContent {
39      public static boolean dbg = false;      public static boolean dbg = false;
40      private static void pa(String s) { System.out.println("AlphContent:: "+s); }      private static void p(String s) { System.out.println("AlphContent:: "+s); }
41    
42    
43      private Fen fen;      private Fen fen;
# Line 71  public class AlphContent { Line 71  public class AlphContent {
71      }      }
72    
73      public void deleteText(Object node, int begin, int end) {      public void deleteText(Object node, int begin, int end) {
74            if (dbg) p("begin: "+begin+", end: "+end);
75          Enfilade1D old = (Enfilade1D)ff.getContent(node);          Enfilade1D old = (Enfilade1D)ff.getContent(node);
76          Enfilade1D enf = old.sub(0, begin);          Enfilade1D enf = old.sub(0, begin);
77          enf = enf.plus(old.sub(end));          enf = enf.plus(old.sub(end));

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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