PureBasic Forum
https://www.purebasic.fr/english/

[Implemented] Comment/ Uncomment a selected Block in the Edi
https://www.purebasic.fr/english/viewtopic.php?f=3&t=3068
Page 1 of 1

Author:  BackupUser [ Wed Jan 16, 2002 5:56 pm ]
Post subject:  [Implemented] Comment/ Uncomment a selected Block in the Edi

Restored from previous forum. Originally posted by Rings.

Comment/ Uncomment a selected Block in the Editor like in VB.
I often have to comment some line out while testing.
;
If i can comment/uncomment a block Coding were easier.


Siggi

Author:  BackupUser [ Wed Jan 16, 2002 7:29 pm ]
Post subject: 

Restored from previous forum. Originally posted by redacid.

yeah, that would be a nice feature since
i am used to it since blitz basic for amiga.

regards,
Redacid
---
Only Amiga makes it possible!

Author:  BackupUser [ Wed Jan 16, 2002 10:22 pm ]
Post subject: 

Restored from previous forum. Originally posted by PB.

Quote:
Comment/ Uncomment a selected Block in the Editor like in VB.


Until Fred can implement this (fingers crossed!) you can tell the compiler
not to include blocks of code like the following. Works quite well!

Code:
CompilerIf 0 ; Start of "commented" block.
  a$="all lines between CompilerIf/CompilerEndIf are ignored,"
  a$="so you don't have to manually comment them all out if"
  a$="you don't want to.  all you need to do is just comment"
  a$="out the CompilerIf/CompilerEndIf lines instead.  "
CompilerEndIf ; End of "commented" block.
a$=a$+"cool, isn't it?"
MessageRequester("test",a$,0)



PB - Registered PureBasic Coder

Edited by - PB on 16 January 2002 22:26:25

Author:  BackupUser [ Mon Jan 28, 2002 10:53 pm ]
Post subject: 

Restored from previous forum. Originally posted by DarkUni.

Can't we use MultiEdit or some other external editor? Many programmer editors allow you to fold procedures as well as block comment.

I'm still monkeying with the demo, so I'm still working on it.

Shane R. Monroe
Dark Unicorn Productions

Author:  BackupUser [ Tue Jan 29, 2002 12:12 am ]
Post subject: 

Restored from previous forum. Originally posted by FAKEFACTORY.

Quote:
Can't we use MultiEdit or some other external editor? Many programmer editors allow you to fold procedures as well as block comment.


I'm currently using SlickEdit with PureBasic. Very good (but a little expensive). Can fold multiple Selections, compile and build directly out of SlickEdit etc...

Registered PureBasic Coder

Author:  BackupUser [ Tue Jan 29, 2002 12:23 am ]
Post subject: 

Restored from previous forum. Originally posted by DarkUni.

Cool .. I'll look it over ...

What I'm really looking for in an editor is:

-Fold/Unfold blocks on keyword (i.e. Procedure)
-Multiple Undo
-Block comment/uncomment
-Syntax highlighting (even if I have to write it myself)
-Type ahead (even if I had to write it)

Unfortunately, the editors that have these things are bloated, huge, and full of stuff I'd NEVER use (like MultiEdit).

Anyone else have feedback?

Shane R. Monroe
Dark Unicorn Productions

Author:  BackupUser [ Tue Jan 29, 2002 12:36 am ]
Post subject: 

Restored from previous forum. Originally posted by Paul.

Hey Shane, have you looked at conText (link on the PB Resources Site)
Someone has already written PB syntax for it and templates.
And it's free.

Author:  BackupUser [ Tue Jan 29, 2002 12:50 am ]
Post subject: 

Restored from previous forum. Originally posted by DarkUni.

I'm on my way!

Shane R. Monroe
Dark Unicorn Productions

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/