bugGNU Octave - Bugs: bug #52859, double clicking variable in editor...

 
 

bug #52859: double clicking variable in editor to highlight all sometimes doesn't work

Submitter:  Marshall <marsian>
Submitted:  Wed 10 Jan 2018 07:24:26 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  ttl
Originator Name:  Marsian Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 15 Jan 2018 02:29:25 PM UTC, comment #3: 

Works fine for me now.
Closing report.

Philip Nienhuis <philipnienhuis>
Group Member
Sun 14 Jan 2018 06:34:32 PM UTC, comment #2: 

Changeset http://hg.savannah.gnu.org/hgweb/octave/rev/7a0cf02ed6d5 fixes the issue for me. The feature of replacing all highlighted occurrences of a word by a new one was also affected.

Torsten Lilge <ttl>
Group Member
Thu 11 Jan 2018 04:53:29 PM UTC, comment #1: 

I can confirm this issue ob Ubuntu and Windows. It only happens when tabulators are used fir indentation.

Torsten Lilge <ttl>
Group Member
Wed 10 Jan 2018 07:24:26 PM UTC, original submission:  

I found that sometimes double click doesn't work to highlight all as expected.


function something(var1,var2)

var1 = sin(var2);
alpha = cos(var1);
a(1) = 1;
for ind=1:10
  a(ind)=ind;
end

end


I can double click on any word above to activate highlight all except sometimes some of the variables in the for loop (a and ind) depending on how I click on them. For example, double clicking in the middle of 'a' or either 'ind' in the loop doesn't work, but clicking to the far left or right of any does (though double clicking to the far left seems to highlight the wrong portion of the text, but does do highlight all on the variable). I don't think this is an exclusive list of ways it fails, but is just an example.

Marshall <marsian>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-15 philipnienhuis StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2018-01-14 ttl StatusConfirmed Ready For Test
    2018-01-11 ttl StatusNone Confirmed
        Assigned toNone ttl
        Operating SystemMicrosoft Windows Any

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code