It is currently Wed Aug 21, 2019 4:49 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: [Implemented] Comment/ Uncomment a selected Block in the Edi
PostPosted: Wed Jan 16, 2002 5:56 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 16, 2002 7:29 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 16, 2002 10:22 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 28, 2002 10:53 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 29, 2002 12:12 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 29, 2002 12:23 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 29, 2002 12:36 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 29, 2002 12:50 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by DarkUni.

I'm on my way!

Shane R. Monroe
Dark Unicorn Productions


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye