octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60724] GUI editor : align comment statements


From: PIERRE LABRECHE
Subject: [Octave-bug-tracker] [bug #60724] GUI editor : align comment statements
Date: Thu, 3 Jun 2021 10:55:21 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?60724>

                 Summary: GUI editor : align comment statements
                 Project: GNU Octave
            Submitted by: pierre5018
            Submitted on: jeu. 03 juin 2021 10:55:19 EDT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: PIERRE LABRECHE
        Originator Email: 
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

A new editor feature would align comments, either on separate lines or at
end-of-line.

Indenting would be invoked as a right-click item, or as part of the indent
command.
User preference would determine if comment auto indenting is part of the
indent command.

Example ( before aligning comments )

if (x)
# a comment on a separate line
  statement# EOL comment 
  statement long # EOL comment 2
endif
# a block comment 
statement( parameter ) ; # EOL comment 3
statement ; # EOL comment 4 


Example ( outcome of aligning comments )

if (x)
  # a comment on a separate line
  statement      # EOL comment 
  statement long # EOL comment 2
endif
# a block comment 
statement( parameter ) ; # EOL comment 3
statement ;              # EOL comment 4 






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60724>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]