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

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

[Octave-bug-tracker] [bug #44039] GUI editor: "Find Previous" finds only


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #44039] GUI editor: "Find Previous" finds only one occurrence in a line
Date: Sun, 18 Jan 2015 20:09:05 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36

Follow-up Comment #3, bug #44039 (project octave):

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


         if (do_forward)
            {
              line = 0;
              col = 0;
            }
          else
            {
              line = _edit_area->lines () - 1;
              col  = _edit_area->text (line).length () - 1;
              if (col == -1)
                col = 0;
            }
        }


Does the line 

 line = _edit_area->lines () - 1;

causes the movement to the previous line?
 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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