bugGNU Octave - Bugs: bug #44039, GUI editor: "Find...

 
 

bug #44039: GUI editor: "Find Previous" finds only one occurrence in a line

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Sun 18 Jan 2015 07:01:03 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: AvinoamOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 19 Jan 2015 08:48:59 PM UTC, comment #5:

Thanks for fixing - works fine

Philip Nienhuis <philipnienhuis>
Project Member
Sun 18 Jan 2015 09:58:39 PM UTC, comment #4:

Thanks for the report.
The code lines you have posted is for searching from the end. The bug was just a few lines below. It should be fixed with cset
http://hg.savannah.gnu.org/hgweb/octave/rev/7bb80c927af5

Torsten <ttl>
Project Member
Sun 18 Jan 2015 08:09:04 PM UTC, comment #3:

in file octave/libgui/src/m-editor/find-dialog.cc

Does the line
causes the movement to the previous line?

Avinoam Kalma <avinoam>
Project Member
Sun 18 Jan 2015 08:06:07 PM UTC, comment #2:

title slightly adapted

Philip Nienhuis <philipnienhuis>
Project Member
Sun 18 Jan 2015 08:01:24 PM UTC, comment #1:

Confirmed on latest gui-release (f9a944b9e1cb "provide a user preference for printing the debug location in the terminal")

"Find next" works fine; "Find previous" only finds the last occurrence in a line and skips earlier matches on the same line.

Philip Nienhuis <philipnienhuis>
Project Member
Sun 18 Jan 2015 07:01:03 PM UTC, original submission:

Using Find Previous in the "Find and Replace" GUI menu,
it find only single occurrence of the string in each line,
and jumps to the previous line

Avinoam Kalma <avinoam>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by avinoam (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 18 Jan 2015 09:58:39 PM UTCttlStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sun 18 Jan 2015 08:06:07 PM UTCphilipnienhuisSummaryFind Previous find only one occurrence in a line=>GUI editor: "Find Previous" finds only one occurrence in a line
    Sun 18 Jan 2015 08:01:24 PM UTCphilipnienhuisStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1