bugGNU Octave - Bugs: bug #60719, (Wish) GUI editor : align...

 
 

bug #60719: (Wish) GUI editor : align assignment statements

Submitter:  PIERRE LABRECHE <pierre5018>
Submitted:  Tue 01 Jun 2021 03:59:55 PM UTC
   
 
Category:  GUI Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  PIERRE LABRECHE Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 01 Jun 2021 04:03:18 PM UTC, comment #1: 

Example ( before formating )

a=0;
b+=10;
fun_call(c);
z(:,a)              = w ;


Example ( after formating )

a      = 0;
b     += 10;
         fun_call(c);
z(:,a) = w ;


PIERRE LABRECHE <pierre5018>
Tue 01 Jun 2021 03:59:55 PM UTC, original submission:  

This new feature would introduce a command for vertically aligning blocks of statements containing assignments such that the left-hand side of the assignment left-aligns, the assignment operators right-align, and the right-hand side of the assignment left-aligns.

A user preference would specify if this feature is automatically enacted in the "indent" command.

example ( before )

a=0;
b++;
c+=10;
z_var(:,1,x)    = w;
-verbatim

example ( after auto-formatting)
+verbatim+
a            = 0;
               b++;
c           *= 10;
z_var(:,1,x) = w;
-verbatim

PIERRE LABRECHE <pierre5018>

 

(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 pierre5018 (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-04 rik5 Carbon-CopyRemoved 72865 -
    2021-06-04 rik5 Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
    2021-06-04 rik5 Carbon-CopyRemoved 72865 -
    2021-06-04 rik5 Release6.2.0 dev
        Operating SystemMicrosoft Windows Any
        SummaryGUI editor : align assignment statements (Wish) GUI editor : align assignment statements

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code