/[gzz]/gzz/gzz/view/DefaultBinder.java
ViewVC logotype

Diff of /gzz/gzz/view/DefaultBinder.java

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

revision 1.4 by benja, Mon Oct 7 17:27:02 2002 UTC revision 1.5 by benja, Wed Oct 9 09:10:08 2002 UTC
# Line 91  public static final String rcsid = "$Id$ Line 91  public static final String rcsid = "$Id$
91       *  We want to be able to have big mark sets.       *  We want to be able to have big mark sets.
92       */       */
93      public Set markedCells = new HashSet();      public Set markedCells = new HashSet();
94        
95        /** A string describing the last error that occurred, if any.
96         */
97        public String errstring = null;
98    
99      public DefaultBinder(Fallback fallback) {      public DefaultBinder(Fallback fallback) {
100          this.fallback = fallback;          this.fallback = fallback;
# Line 194  public static final String rcsid = "$Id$ Line 198  public static final String rcsid = "$Id$
198          }          }
199    
200          wasInWindow = (Fallback.Win)win;          wasInWindow = (Fallback.Win)win;
201            errstring = null;
202    
203          try {          try {
204              if(fallback.mode == NORMAL)              if(fallback.mode == NORMAL)
# Line 262  public static final String rcsid = "$Id$ Line 267  public static final String rcsid = "$Id$
267                  cell.delete();                  cell.delete();
268                  fallback.windows[1].cursor = home;                  fallback.windows[1].cursor = home;
269              } else {              } else {
270                  pa("Cannot delete home cell");                  errstring = "Sorry, I can't delete the home cell.";
271              }              }
272          } else if(k.length() == 1) {          } else if(k.length() == 1) {
273              switch(k.charAt(0)) {              switch(k.charAt(0)) {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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