Paste as comment

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Re: Paste as comment

Post by kenmo »

This was already implemented as a right- click option in the IDE previous to it going open source.
:shock: You made me install 5.71 again to check

I think you're thinking of "Insert comments" (to existing text) which is not the same as "Paste as comment" (with comments pre-injected)
select all,Ctlr+B . doesn't work?
1. That's multiple keyboard or mouse steps compared to 1 hotkey press :)

2. Re-read the original request... if you paste THEN insert comments, your text is reformatted by the IDE, for example words inside strings may be wrongly case-corrected.
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Paste as comment

Post by Demivec »

kenmo wrote:
This was already implemented as a right- click option in the IDE previous to it going open source.
:shock: You made me install 5.71 again to check

I think you're thinking of "Insert comments" (to existing text) which is not the same as "Paste as comment" (with comments pre-injected)
select all,Ctlr+B . doesn't work?
I was referring to the option on the pop-up menu when you right click in the editor window that says 'Paste as comment Ctrl+Shift+V'. When I have a little more time I'll check which version it initially showed up in. I only discovered the option within the last six months. Before then I had been using a custom IDE tool already posted in this thread to do the same thing for about four years.

While I got your attention, I want to thank you for your updates to the open source IDE code. It is much appreciated.
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Re: Paste as comment

Post by kenmo »

Yeah, unless I'm mixed up, that was new in 5.72 with the first bunch of open source submitted features. :) I just posted in this thread so it can be updated as [Implemented]

I have a long want-to-do list for the IDE but unfortunately very little time for it in the past 3 months :(
Post Reply