bugGNU Octave - Bugs: bug #47255, "Edit Function" doesn't...

 
 

bug #47255: "Edit Function" doesn't work

Submitted by:  Ruslan <l0110111>
Submitted on:  Thu 25 Feb 2016 02:18:02 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: RuslanOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 14 Mar 2017 07:37:37 AM UTC, comment #3:

Ctrl+E on a subfunction name could jump to the subfunction as defined in the same open file.

Currently Ctrl+E works properly for functions defined in a separate m file.

Felipe G. Nievinski <fgnievinski>
Thu 25 Feb 2016 09:15:38 PM UTC, comment #2:

Thanks for the report. Fixed with changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/043ec02115b8
(Mike, good guess!)

Torsten <ttl>
Project Member
Thu 25 Feb 2016 06:27:01 PM UTC, comment #1:

Confirmed here. This is the "Edit FUNCTION" action that shows up in the editor context menu when a function is selected in the built-in editor.

A complete guess, but this may have broken when bug #35619 was fixed.

Mike Miller <mtmiller>
Project Administrator
Thu 25 Feb 2016 02:18:02 PM UTC, original submission:

While testing some patches to other bugs I've noticed that in development version of Octave pressing Ctrl+E to edit function under cursor doesn't do anything.

I've used this function without problems in 4.0.0 (ubuntu octave-stable PPA, version 4.0.0-3ubuntu2~octave~trusty3), but it no longer works at least as of 980abb267014+ (output of `hg id -i`).

I've tried to investigate what happens there, and it seems the slot `file_editor::handle_edit_mfile_request()` isn't being called, despite having been successfully connected in `file_editor::construct()`. The signal which should call it (as it seems to me) is emitted in `file_editor_tab::handle_context_menu_edit()`, after which I failed to trace where it goes.

Ruslan <l0110111>

 

(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 fgnievinski (Posted a comment)
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by l0110111 (Submitted the item)
  • -unavailable- added by l0110111
  •  

    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
    Thu 25 Feb 2016 09:15:38 PM UTCttlStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 25 Feb 2016 06:27:01 PM UTCmtmillerStatusNone=>Confirmed
    Thu 25 Feb 2016 02:18:02 PM UTCl0110111Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1