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
[Implemented] Comment/ Uncomment a selected Block in the Edi
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
not to include blocks of code like the following. Works quite well!
PB - Registered PureBasic Coder
Edited by - PB on 16 January 2002 22:26:25
Until Fred can implement this (fingers crossed!) you can tell the compilerComment/ Uncomment a selected Block in the Editor like in VB.
not to include blocks of code like the following. Works quite well!
Code: Select all
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
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by FAKEFACTORY.
Registered PureBasic Coder
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...Can't we use MultiEdit or some other external editor? Many programmer editors allow you to fold procedures as well as block comment.
Registered PureBasic Coder
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
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
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm