octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47561] ctrl-f <enter> action can default to "


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47561] ctrl-f <enter> action can default to "replace all"
Date: Tue, 29 Mar 2016 10:24:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

URL:
  <http://savannah.gnu.org/bugs/?47561>

                 Summary: ctrl-f <enter> action can default to "replace all"
                 Project: GNU Octave
            Submitted by: lachlan
            Submitted on: Tue 29 Mar 2016 10:24:48 AM GMT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Lachlan
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

To reproduce this bug do the following:

1. Open a sacrificial copy of a .m file in the GUI editor

2. Open the find dialog.  Type text to search and replace, then press "Replace
all".

3. Close the dialog.  Forget you ever opened it

4. Open the find dialog.

5. Type '=' <enter>

6. Observe that all copies of '=' in the file have been replaced by the
"replace" text from step 2.

7. (Adding insult to injury: Try to undo, by typing ctrl-z, and observe that
only one of the replacements is undone.  Try to remember how many
substitutions were made, and type ctrl-z that number of times.)

I'm not sure if retaining the most recent action is the next default is
desired.  I have a patch that resets it to "find" each time the dialog is
opened, which I'll attach once I have a bug number.

For some unknown reason, it also seems to reset to "find" whenever the search
text is changed, which is possibly undesirable.  However, at least when
repeating the most recent search by simply pressing <enter>, it seems not to
reset.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47561>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]