[Top][All Lists]

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

[Octave-bug-tracker] [bug #52695] Uncomment should work with any kind of

From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52695] Uncomment should work with any kind of comment
Date: Tue, 19 Dec 2017 17:58:01 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #4, bug #52695 (project octave):

The original poster wrote:

(It would also be nice if there were a separate test-comment-command that
could create %! type comments, but maybe that's better for a different feature

I see that 

_C_omment       Ctrl+R
_U_ncomment     Ctrl+Shift+R

[BTW, note that in the submenu in which the above appears, there are three
entries with the _U_ shortcut key selection.]

Another thing that could be done to address the above would be a new code

_C_omment       Ctrl+R
Comment Choose  Ctrl+Alt+R
_U_ncomment     Ctrl+Shift+R

in which the Ctrl+Alt+R will pop up a dialog box with a radio button list (or
some similar construct) having

Choose Comment Char:
  [x] %
  [ ] %%
  [ ] %!
  [ ] #
  [ ] ##

and once a person clicks the choice, it's that comment character that is

So, one could do Ctrl+R to get their favorite comment character (% or whatever
preference set up) and then to get %! it would be a slightly slower process of
Ctrl+Alt+R and a few down-arrow keystrokes and ENTER.  A radio button,
drop-down list, etc. should all have close to the same sort of action as far
as keyboard input goes.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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