bugGNU Octave - Bugs: bug #46458, tab completion does not work for...

 
 

bug #46458: tab completion does not work for the elements of a struct when that struct is a cell of a cell array

Submitted by:  Martijn <mart1jn>
Submitted on:  Mon 16 Nov 2015 05:05:20 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: Lachlan Andrew <lachlan>
Originator Name: MartijnOpen/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.

 

(Jump to the original submission Jump to the original submission)

Sat 23 Jul 2016 10:14:02 PM UTC, comment #7:

I pushed the changeset here:

http://hg.savannah.gnu.org/hgweb/octave/rev/0a4c5a90f286

Lachlan: Please write "* input.h, input.cc (...):" instead of "* input.{h,cc} (...):". With the abbreviated version, if someone searches for input.h they would miss this entry.

Oops, I pushed before I noticed that the bug number was missing from the commit message.

John W. Eaton <jwe>
Project Administrator
Fri 01 Jul 2016 10:24:17 AM UTC, comment #6:

The previous patch missed the "username" metadata.

(file #37645)

Lachlan Andrew <lachlan>
Project MemberIn charge of this item.
Mon 27 Jun 2016 07:32:54 AM UTC, comment #5:

thanks for fixing this issue!

Martijn <mart1jn>
Sun 26 Jun 2016 02:45:13 PM UTC, comment #4:

Yes I tested the original example and indeed the patch makes it work.

Pantxo Diribarne <pantxo>
Project Member
Sun 26 Jun 2016 10:29:41 AM UTC, comment #3:

This patch fixes this issue for me. Could either of you confirm that?

(file #37580)

Lachlan Andrew <lachlan>
Project MemberIn charge of this item.
Mon 16 Nov 2015 08:44:10 PM UTC, comment #2:

Hi,

I can confirm this bug. I would also be happy if tab completion worked on struct elements of a cell array, but anyway octave should not print those internals.

Pantxo Diribarne <pantxo>
Project Member
Mon 16 Nov 2015 05:08:21 PM UTC, comment #1:

sorry I meant "fields of a struct" instead of "elements of a struct"

Martijn <mart1jn>
Mon 16 Nov 2015 05:05:20 PM UTC, original submission:

tab completion does not work for the elements of a struct when that struct is a cell of a cell array. After running the code snippet below, when I type "t1." and then tab I get "t1.t2 t1.t3" as expected. However when I type "t4{ 1 }." and then tab I get "./ ../ .nargin.".

Martijn <mart1jn>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by lachlan (Updated the item)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by mart1jn (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 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Nov 2016 05:23:28 AM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 23 Jul 2016 10:14:02 PM UTCjweStatusPatch Submitted=>Ready For Test
    Fri 01 Jul 2016 10:24:17 AM UTClachlanAttached File-=>Added bug_46458_complete_struct_array.cset, #37645
    Sun 26 Jun 2016 10:29:41 AM UTClachlanAttached File-=>Added bug_46458_complete_struct_array.cset, #37580
      Item GroupNone=>Feature Request
      StatusConfirmed=>Patch Submitted
      Assigned toNone=>lachlan
      Originator Name=>Martijn
      Release4.0.0=>dev
      Operating SystemMicrosoft Windows=>Any
    Mon 16 Nov 2015 08:44:10 PM UTCpantxoStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1