bugGNU Octave - Bugs: bug #41276, Allow opening files when the...

 
 

bug #41276: Allow opening files when the function name is displayed in the command window

Submitter:  None
Submitted:  Sun 19 Jan 2014 12:28:53 PM UTC
   
 
Category:  GUI Severity:  1 - Wish
Priority:  1 - Later Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 24 Jul 2019 06:31:54 AM UTC, comment #3: 

I have pushed changeset http://hg.savannah.gnu.org/hgweb/octave/rev/0a2e5c808709 providing the possibility to edit, show help or the documentation on a selected expression in the console window.

Closing this report.

Torsten Lilge <ttl>
Group Member
Mon 20 Jan 2014 03:22:17 AM UTC, comment #2: 

please list other missing Windows-specific keybindings in bug #40156.

Felipe G. Nievinski <fgnievinski>
Sun 19 Jan 2014 04:40:12 PM UTC, comment #1: 

The desired functionality is at least implemented in the editor. You can edit a function when the cursor is at the name of the function (no need to select text) by Ctrl+E (Ctrl+D is used by QScintilla itself) or by activating the context menu at the desired function name.

An implementation in the command window is missing; the editor can only be invoked by "edit myfun" at the moment. I have edited the title to make clear that only the command window is affected.

Torsten Lilge <ttl>
Group Member
Sun 19 Jan 2014 12:28:53 PM UTC, original submission:  

One of the most useful features of the Matlab-IDE that I use on a daily basis is the possibility to open the currently selected function in the editor.

...
 myFunction(a,b)
...

Suppose you have the above code and what to look at the source of myFunction, simply place your cursor somewhere in the text myFunction and Press Ctrl+D to open the myFunction.m in the editor. You can also select parts of text, to open a file with that: for example: select only "myFun" and the GUI should try to open myFun.m
It also should work from the command window. Use case: which myFun -all. Then select the path and press the hotkey und can browser the source.

Anonymous

 

(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 fgnievinski (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  •  

    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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-24 mtmiller Carbon-CopyRemoved 80942 -
    2019-07-24 ttl StatusNone Fixed
        Open/ClosedOpen Closed
    2015-02-14 mtmiller Severity3 - Normal 1 - Wish
        Priority5 - Normal 1 - Later
    2014-01-19 ttl Release3.8.0 dev
        Operating SystemMicrosoft Windows Any
        SummaryGUI: &quot;open source for current function&quot; Allow opening files when the function name is displayed in the command window

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code