[Implemented] Fix the editor please?? Please?? Please??
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
[Implemented] Fix the editor please?? Please?? Please??
Restored from previous forum. Originally posted by Fangbeast.
Change the editor behaviour so it doesn't jump to the end of the line!! I find myself swearing a lot over that one lately!!!!!!
Some of my lines of code can be very long and as I scroll through my code editing away, having the cursor jump right off the screen to the end of the line is irritating!!
Fangles
Change the editor behaviour so it doesn't jump to the end of the line!! I find myself swearing a lot over that one lately!!!!!!
Some of my lines of code can be very long and as I scroll through my code editing away, having the cursor jump right off the screen to the end of the line is irritating!!
Fangles
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by wavemaker.
I understand you, Fang, word wrapping should be a prime target for next release -we've said this before-. BTW, I've been studying the cab thing, it may be possible (I've even made a PB cab viewer/decompresser which *should* work, but it doesn't). I'll tell you if I have any success.
Bye,
Juan Calderón Alonso
Registered user
I understand you, Fang, word wrapping should be a prime target for next release -we've said this before-. BTW, I've been studying the cab thing, it may be possible (I've even made a PB cab viewer/decompresser which *should* work, but it doesn't). I'll tell you if I have any success.
Bye,
Juan Calderón Alonso
Registered user
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
What I would like to see is PureBasic emulate Visual Basic's "line continuation" characters (ie. space followed by underscore, " _") so that when the PureBasic compiler sees it, it takes the next line and considers it to be part of the previous (during compilation only, not during editing).
In other words, both of these code snippets would be considered one line:
MessageBox("title","this is one line",0)
MessageBox("title", _
"and this is one line also", _
0)
PB - Registered PureBasic Coder
Edited by - PB on 24 November 2001 10:38:15
What I would like to see is PureBasic emulate Visual Basic's "line continuation" characters (ie. space followed by underscore, " _") so that when the PureBasic compiler sees it, it takes the next line and considers it to be part of the previous (during compilation only, not during editing).
In other words, both of these code snippets would be considered one line:
MessageBox("title","this is one line",0)
MessageBox("title", _
"and this is one line also", _
0)
PB - Registered PureBasic Coder
Edited by - PB on 24 November 2001 10:38:15
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by MrVainSCL.
Hi Fang!
You can try following if your line is to long...
a$ = "title"
b$ = "this is one line! "
c$ = "easy way, isnt it?
"
MessageRequester(a$,b$+c$,0)
Or just...
a$ = "title"
b$ = "this is one line! "
c$ = "easy way, isnt it?
"
text$ = b$+c$
MessageRequester(a$,text$,0)
greetz
MrVainSCL!
Hi Fang!
You can try following if your line is to long...
a$ = "title"
b$ = "this is one line! "
c$ = "easy way, isnt it?

MessageRequester(a$,b$+c$,0)
Or just...
a$ = "title"
b$ = "this is one line! "
c$ = "easy way, isnt it?

text$ = b$+c$
MessageRequester(a$,text$,0)
greetz
MrVainSCL!
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
PB - Registered PureBasic Coder
But that makes your exe larger and use more memory (although only by a small amount) due to using three strings instead of one, whereas my Visual Basic request wouldn't because the PureBasic compiler would treat all three lines as one before compiling it.a$ = "title"
b$ = "this is one line! "
c$ = "easy way, isnt it?"
MessageRequester(a$,b$+c$,0)
PB - Registered PureBasic Coder
-
- 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 fred.
Fred - AlphaSND
This is a very good idea (never tough about it) and I will probably implement it soon. Thanks !What I would like to see is PureBasic emulate Visual Basic's "line continuation" characters (ie. space followed by underscore, " _") so that when the PureBasic compiler sees it, it takes the next line and considers it to be part of the previous (during compilation only, not during editing).
In other words, both of these code snippets would be considered one line:
MessageBox("title","this is one line",0)
MessageBox("title", _
"and this is one line also", _
0)
Fred - AlphaSND
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tranquil.
Fred, if you add this feature please make it optional in the Editors-Preferences. I prefere the Editor as it is now and WordWraping will make my sources wired. And please fix the "Change Font Size" in colored-mode. I cant use a font with a size of 8 or another font as the default. The size at the moment is to tall for me....
Mike
Tranquilizer/ Secretly!
Fred, if you add this feature please make it optional in the Editors-Preferences. I prefere the Editor as it is now and WordWraping will make my sources wired. And please fix the "Change Font Size" in colored-mode. I cant use a font with a size of 8 or another font as the default. The size at the moment is to tall for me....

Mike
Tranquilizer/ Secretly!
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
PB - Registered PureBasic Coder
Edited by - PB on 25 November 2001 23:23:04
I know, but there's no reason why some of Visual Basic's cool features can't become part of PureBasic's features. What I suggested is a VERY handy code-formatting feature and doesn't affect anyone else at all if they don't want to make use of it.Purebasic is not VisualBasic.
PB - Registered PureBasic Coder
Edited by - PB on 25 November 2001 23:23:04
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
PB - Registered PureBasic Coder
Tranquil, my suggestion for this feature doesn't affect anyone else if they don't want to use it. It's not automatic word-wrapping: it's user-specified word-wrapping. In other words, you can keep coding your PureBasic apps as per normal, whereas I could use the new feature by simply typing " _" at the end of each line myself, and the compiler would know to add the next line to the current one. So it won't affect anyone who doesn't want to use it...Fred, if you add this feature please make it optional in the Editors-Preferences. I prefere the Editor as it is now and WordWraping will make my sources wired.
PB - Registered PureBasic Coder
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Fangbeast.
And I will be your grateful slave:)
Another registered user (but I don't usually say
:)
P.s. I like the idea of the line continuation characters. Almost every basic editor I have used over the last 25 years has had it. But, I don't want the word wrapping, just the editor to stay on the left collumn, in line with EVERY other editor out there and not jump to the end of the line!!!
Fangles
If you ever get the CAB thing done, I will be able to make my code even more idiot proof than it is And since I am an idiot, I should know!!!release -we've said this before-. BTW, I've been studying the cab thing, it
And I will be your grateful slave:)
Another registered user (but I don't usually say

P.s. I like the idea of the line continuation characters. Almost every basic editor I have used over the last 25 years has had it. But, I don't want the word wrapping, just the editor to stay on the left collumn, in line with EVERY other editor out there and not jump to the end of the line!!!
Fangles
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by theogott.
My suggestion would be to make the Procedures "foldable".
So you could "fold" the procedures, that at last only the first Line is visible, and they change maybe color.
The "Procedure-Folding" is an old Feature, which make programmes more readable.
You have tested it, fold it, work on the next.
*************************
The best time to do things is now !
My suggestion would be to make the Procedures "foldable".
So you could "fold" the procedures, that at last only the first Line is visible, and they change maybe color.
The "Procedure-Folding" is an old Feature, which make programmes more readable.
You have tested it, fold it, work on the next.
*************************
The best time to do things is now !
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Shagwana.
I just found a bit of a nasty bug in the editor, when i typed in two english pound symbol by acedent (££), I could not delete it!, without deleting a selected area
http://www.sublimegames.com
Edited by - Shagwana on 09 December 2001 14:04:17
I just found a bit of a nasty bug in the editor, when i typed in two english pound symbol by acedent (££), I could not delete it!, without deleting a selected area

http://www.sublimegames.com
Edited by - Shagwana on 09 December 2001 14:04:17
-
- 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.
you don't always know if the person with the problem is using the demo version
of PureBasic or not...
PB - Registered PureBasic Coder
Identifying as registered or not makes it easier to answer questions, becauseAnother registered user (but I don't usually say:)
you don't always know if the person with the problem is using the demo version
of PureBasic or not...
PB - Registered PureBasic Coder