Commenting in Octave

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Commenting in Octave

Adrg01
Python has a shortcut C-/ which comments the line the cursor bar is present
in. What is the octave analogue of this shortcut?



--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: Commenting in Octave

nrjank
Administrator


On Mon, Mar 30, 2020, 8:09 PM Adrg01 <[hidden email]> wrote:
Python has a shortcut C-/ which comments the line the cursor bar is present
in. What is the octave analogue of this shortcut?

Ctrl-R  and Ctel-Shift-R toggle commenting in the octave editor.


Reply | Threaded
Open this post in threaded view
|

Re: Commenting in Octave

Torsten Lilge-2
In reply to this post by Adrg01
On Mon, 2020-03-30 at 19:09 -0500, Adrg01 wrote:
> Python has a shortcut C-/ which comments the line the cursor bar is
> present
> in. What is the octave analogue of this shortcut?
>

You can change the shortcut to your preferred one by menu
"Edit/Preferences" and the tab "Shortcuts" therein.

Torsten