Changeset 4353


Ignore:
Timestamp:
10/13/03 23:51:19 (19 years ago)
Author:
piso
Message:

Reverted revision 1.3.

File:
1 edited

Legend:

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

    r3100 r4353  
    33 *
    44 * Copyright (C) 1998-2003 Peter Graves
    5  * $Id: ReplaceDialog.java,v 1.4 2003-07-26 18:53:34 piso Exp $
     5 * $Id: ReplaceDialog.java,v 1.5 2003-10-13 23:51:19 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    295295        final Buffer buffer = editor.getBuffer();
    296296        if (replacement.confirmChanges()) {
    297             Position pos = replacement.find(buffer.getMode(), editor.getDot());
     297            Position pos = replacement.find(buffer, editor.getDot());
    298298            if (pos == null) {
    299299                editor.endCompoundEdit(compoundEdit);
     
    330330            Position saved = new Position(editor.getDot());
    331331            Position pos;
    332             while ((pos = replacement.find(buffer.getMode(), editor.getDot())) != null) {
     332            while ((pos = replacement.find(buffer, editor.getDot())) != null) {
    333333                editor.addUndo(SimpleEdit.MOVE);
    334334                editor.getDot().moveTo(pos);
Note: See TracChangeset for help on using the changeset viewer.