Changeset 4354


Ignore:
Timestamp:
10/13/03 23:53:47 (18 years ago)
Author:
piso
Message:

Reverted to revision 1.2.

Location:
trunk/j/src/org/armedbear/j
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/ConfirmReplacementDialog.java

    r3094 r4354  
    33 *
    44 * Copyright (C) 1998-2003 Peter Graves
    5  * $Id: ConfirmReplacementDialog.java,v 1.3 2003-07-26 17:50:52 piso Exp $
     5 * $Id: ConfirmReplacementDialog.java,v 1.4 2003-10-13 23:53:47 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    8888        replacement.replaceOccurrence();
    8989        replacement.getEditor().updateDisplay();
    90         Position pos = replacement.find(editor.getMode(), editor.getDot());
     90        Position pos = replacement.find(editor.getBuffer(), editor.getDot());
    9191        if (pos == null) {
    9292            dispose();
     
    116116            return;
    117117        }
    118         Position pos = replacement.find(editor.getMode(), start);
     118        Position pos = replacement.find(editor.getBuffer(), start);
    119119        if (pos == null) {
    120120            dispose();
     
    149149        // Replace all the rest.
    150150        Position pos;
    151         while ((pos = replacement.find(editor.getMode(), editor.getDot())) != null) {
     151        while ((pos = replacement.find(editor.getBuffer(), editor.getDot())) != null) {
    152152            editor.addUndo(SimpleEdit.MOVE);
    153153            editor.getDot().moveTo(pos);
  • trunk/j/src/org/armedbear/j/FindDialog.java

    r3094 r4354  
    33 *
    44 * Copyright (C) 1998-2003 Peter Graves
    5  * $Id: FindDialog.java,v 1.3 2003-07-26 17:51:20 piso Exp $
     5 * $Id: FindDialog.java,v 1.4 2003-10-13 23:52:56 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    220220            else
    221221                start = editor.getDot();
    222             Position pos = search.find(editor.getMode(), start);
     222            Position pos = search.find(editor.getBuffer(), start);
    223223            editor.setDefaultCursor();
    224224            if (pos != null) {
Note: See TracChangeset for help on using the changeset viewer.