Comment and UnComment Buttons in Code Editor

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Comment and UnComment Buttons in Code Editor

Post by BarrySumpter »

Can we please have Comment and UnComment buttons in the Code Editor?
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Comment and UnComment Buttons in Code Editor

Post by jacque »

There's Cmd [ on Windows, Control] - hyphen and shift hyphen. I think most people use that since we're typing in the editor anyway.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Comment and UnComment Buttons in Code Editor

Post by BarrySumpter »

I'm not.

The only time I comment is to comment after checking full script lines.
My hands are off the keyboard and on the phone or on the mouse.
And pasting test scripts.

Anyone know of a way to add an addon to the script exitor.
There was that alternative script editor for rev (I think) but I didn't spend enough time on it to see what it does.
Or maybe the one I'm thinking about is an addon for the IDE and not the script editor.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Comment and UnComment Buttons in Code Editor

Post by mwieder »

Barry-

The glx2 script editor is now an open-source project (https://bitbucket.org/mwieder/glx2/downloads), and while it supports commenting and uncommenting lines or blocks, it does it in the same way as the IDE's script editor: control-dash or shift-control-dash. There's also a menu item to do this, but since you have to select a block to comment anyway it doesn't seem like that much of a stretch. It *can* be all done with the mouse, though...

Select a block to comment
or
triple-click a line to select the whole line
Select Comment (or Uncomment) from the Script menu (Edit menu in the IDE's script editor)
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Comment and UnComment Buttons in Code Editor

Post by BarrySumpter »

I still want the comment and uncomment buttons on the script ide command bar.

Or even better, a way to add macros as we see fit.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
Post Reply