Restored from previous forum. Originally posted by Amiga5k.
This may already be available in some form: The ability to continue the current line onto the second line with, say, an underscore character. Sometimes, even in 1280 x 1024, I end up with a line of code that extends beyond the right edge and can not be broken up easily. A '_' at the end, signifying that this line continues on the next would come in handy.
Russell
***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***
[Implemented] '_' for line extension
-
- 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
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Amiga5k.
Or, alternately, a word-wrap option in the IDE so that it will wrap automatically t the next line and still look fine on super-wide monitors (I think the "_" option is better, though).
Russell
***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***
Or, alternately, a word-wrap option in the IDE so that it will wrap automatically t the next line and still look fine on super-wide monitors (I think the "_" option is better, though).
Russell
***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***
-
- 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 ricardo.
/*
ALL THIS
LINES ARE
INSIDE A BLOCK COMMENT
*/
Its easier than:
;ALL THIS
;LINES ARE
;INSIDE A BLOCK COMMENT
Many languages has this option.
Best Regards
Ricardo
Dont cry for me Argentina...
Yes, some block comment by code, just like C and many languages.Do you mean without having to use the block comment feature?
/*
ALL THIS
LINES ARE
INSIDE A BLOCK COMMENT
*/
Its easier than:
;ALL THIS
;LINES ARE
;INSIDE A BLOCK COMMENT
Many languages has this option.
Best Regards
Ricardo
Dont cry for me Argentina...
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Amiga5k.
Although block commenting would be nice (along with 'UnComment Selected Lines'), what I'm talking about is extendingthe current line of executable code to the next line:
Notice the "_" at the end of the first line, which extend onto the next.
If you're opening a window with lots of Or'ed Constants, the program line can easily exceed the edge of your screen.
Russell
***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***
Although block commenting would be nice (along with 'UnComment Selected Lines'), what I'm talking about is extendingthe current line of executable code to the next line:
Code: Select all
If a = 2 Or (j = a And b < c And q = 7) Or _
(y = 3 Or d = y) Then
PrintN "That's a ridiculous example, eh?"
Else PrintN "It's business as usual..."
EndIf
If you're opening a window with lots of Or'ed Constants, the program line can easily exceed the edge of your screen.
Russell
***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***