Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / "CUT/COPY/PASTE broken" revisited

Author
Message
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 31st Mar 2003 21:40
I read a post a while back that basically said someone was having problems with CUT/COPY/PASTE stuff in the DBPro editor. I think Rich responded and said it all works in the latest version of the editor (which may have been referring to the patch 4 version, but I'm not sure).

If you collapse functions in the editor, CUT/COPY/PASTE starts acting very weird and quits working for some lines in the file but works for other lines in the file. Also, it gets to a point where you can't even type anything in (the cursor moves to the right for each keystroke but no characters show). SHIFT+ doesn't hightlight anything. Click-Dragging with the mouse doesn't highlight text any more. The editor eventually gets into an unusable state with a combination of these problems occuring.

I'm using DBPro patch 4.
Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 31st Mar 2003 21:51
The Patches don't update the editor (never have done). Get them editor updates from the RGT site (downloads page).

The problems you talk about I've experienced but can usually be resolved by scrolling/paging to the start of your code and down to the bottom and up again. Weird, but it worked for me. I don't get most of the issues you describe now - have you got the latest IDE update? (NOT DB patch, but IDE patch - they are two different things).

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 31st Mar 2003 21:56
Hmmmm... okay, where is the RGT (Real Game Tools is it?) site? Is that site affiliated with DBS in some way? The editor is not supported by DBS directly?

Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 31st Mar 2003 22:41
www.realgametools.com

They our an American distributor of DBPro (and generally all-round cool people) and created the editor and are responsible for updates to it.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 31st Mar 2003 23:16
I have problems with the editor version 1.0.9.1

Folding functions don't work which is a shame as it would be a usefull feature. I have the problem of the none showing characters.

The add media dialog adds quotes to the filename which you need to remove in the editbox other wise it prefixes the media file path to the front of the text in the editbox when you click ok.

You have to use the menu for save project otherwise it ignores changes to the .dbpro file when you exit.

rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 31st Mar 2003 23:37
Well that really is stupid, you'd think that you could get the updates from the same site, but no, you have to two different sites to get the IDE patch and compiler patch.
Did you make that clear to us? No!
Did you tell the noobs were to go because they don't know what RGT is? No!

Wonderful...

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 31st Mar 2003 23:39
Use 'save ALL' button or toolbar icon : it saves source AND project.

Quite why you have a choice of saving source, project or both is beyond me

Gronda, Gronda
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 31st Mar 2003 23:51
Then you have to remeber to press the save all button before you exit otherwise loose your changes as the editor doesn't appear to check if the .dbpro file has been modified and ask if you want to save it when you exit.

rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 1st Apr 2003 01:39
IMHO the editor is terrible but it is currently the only option, so if you changes email Guy Savoie with your ideas.

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 1st Apr 2003 01:47
"Did you make that clear to us? No!
Did you tell the noobs were to go because they don't know what RGT is? No!"

Someone didn't have his Wheaties this morning.

I'll add the Editor updates to the site and yes, I told them what "RGT" is and even linked to the direct page, nuff said.

The editor is far from terrible, but I'd be interested to know WHY you think it is. The only issue I have with it is the lack of multi window support, but that's coming in 1.50 (along with a load of other stuff).

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Darth Coder
23
Years of Service
User Offline
Joined: 30th Mar 2003
Location: Switzerland
Posted: 1st Apr 2003 02:16
The editor seems fine to me. I'm using the one from the demo so I don't know if it's updated.

I'd rather use my emacs but if I start trying to configure that thing to properly edit and compile my DBP files, I'll start coding after the competition is over. And coding a mode for emacs isn't my idea of fun anyway

"You don't know the power of the Dark Side." - Darth Vader
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 1st Apr 2003 04:02 Edited at: 1st Apr 2003 04:03
Hmm... that's my problem see? I rarely get mad, but whenever I say negative things I say em strong, as if I am mad. So if I ever sound angry I ain't ok lol

Oh, and I dislike wheaties...

The editor prolly isn't as bad as I make it out to be, but:
The whole .dba and .dbpro thing doesn't work. It isn't properly implemented, as stated above you have to save everything seperately, if you make changes to the project options, ie-window title, to-do list etc you have to remember to save the .dbpro as well... I dunno, maybe I'm just too forgetful.

Multi-window support is very much needed, but that is coming right? If nothing else, at least allow more than one DBPro window open at once, if I try to open two it closes one.

Opening files from outside of the editor is a pain, and even from inside of the editor, I have to go through messages asking me if I should make a dbpro project file, I suppose that's lazyness speaking but it's just a real pain to make just source files.

The window on the left of the screen isn't re-sizable, this makes the functions/labels/variables boxes useless when dealing with long names, adding media to be included in the project is a tedious task, because you have to add every piece one by one, plus you have to remove the quotes for each one.

Syntax highlighting is fine, but the syntax help system (the little help boxes that list the command and it's required values) sometimes doesn't work. (I suppose their definitions weren't added to the list)

The extra options: Auto formating the text and such doesn't work (ie- ALL BOLD, All Caps, or all small.)

Assistant mode doesn't work for some reason on my comp, it first forces me to close the project, then opens it again with the "assistant" on the side. Once the project is open again it switches back to project mode...

Folding and unfolding (on my comp anyway) messes things up as well, if I type below the folded function(s) the cursor moves but the text doesn't show up until I press enter.

There is no Make EXE button. This isn't really a problem because when compiling an exe is automatically made, but it gives a sense of finality, and if nothing else, it helps noobs out I remember when I first took a look at the editor... I was confused as to why there was no Make Final type button. Well, that lead me to look for the editor help files... but wait! There are none

The occasional help file for DBP has a broken link... guess that isn't Guy's fault though lol

Not sure about the Debug mode either, but it don't work on my computer. It breezes straight through every breakpoint I place, and if I try to execute a command from the CLI, it crashes. If I look at the variables list, it crashes. Sometimes I get lucky and am able to look at the variables list, but all I see is a list of variables... no values, and a whole load of & symbols. If I click a variable it moves to some other box but soon after crashes.

There, that's my little list of complaints

Oh, and I am not mad, or trying to act hostile even though I may sound that way, so please keep tht in mind I never was good at voicing my thoughts...

[EDIT] Good news on a new IDE patch anyway

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
The One Ring
23
Years of Service
User Offline
Joined: 15th Sep 2002
Location: United States
Posted: 1st Apr 2003 07:09
I don't have HALF the probs you listed... I do, however find that the debugger crashes 95% of the time I try to use it. It'll break just fine, then crash when I do ANYTHING with it... (WinXP Pro for anyone who cares...)

Multiple windows... I look forward to it.

Good, bad... I'm the guy with the gun. - Ash in Army Of Darkness(1993).
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 1st Apr 2003 11:17
I quite like the editor, although some of the keyboard shortcuts are non-standard.

Would be nice to have a prompt asking if you want to save when you quit the program.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
haggisman
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 1st Apr 2003 12:39
Quote: "The whole .dba and .dbpro thing doesn't work. It isn't properly implemented, as stated above you have to save everything seperately, if you make changes to the project options, ie-window title, to-do list etc you have to remember to save the .dbpro as well... I dunno, maybe I'm just too forgetful.
"


They work fine here... You dont have to save everything seperately, that is why there is a SAVE ALL button, which includes saving the project.

Btw it would probably be a better idea to post this at RGT or email GuyS...

Specs:- 1GHZ athlon, Radeon8500, 192mb ram, winxp
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 1st Apr 2003 15:48
Ya I know...

I forgot: It doesn't save your bookmarks

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 1st Apr 2003 16:05
DBS ought to have a link to the IDE updates on its website.

Current Project: Retro Compo. Entry.
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 2nd Apr 2003 00:46
It does now, or soon will according to Rich.
Don't know why they didn't have one before but lesson learned (for me): Ask for something nicely before getting/sounding mad lol

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 2nd Apr 2003 22:14
Well, like you Darth, I only stick with the editor because I don't have a "vi" clone set up to understand the language or compile for me, etc. (Heck, I can't even get anyone to tell me how to run the compiler directly). I can't stand having to constantly reach from home keys to cursor keys to mouse back and forth all over the place to code. With "vi" I can keep my hands on the home keys of the keyboard and get some real coding done.

At minimum the editor could have some non-Windows shortcut keys like CTRL-p and CTRL-n for moving the cursor back and forward lines...

heartbone
23
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 2nd Apr 2003 23:35
Someone at DBS should publish the EXACT compiler syntax
so those of us who use other professional editors (like EMACS) can use them.

I don't understand why this document is not available.

The more you see, the more you know.
The more you know, the more you see.
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 3rd Apr 2003 00:09
To get the compiler to work read the .dbpro file it is well commented.
Basically all the editor does is lump all the source in one file
final source=_Temp.dbsource
in the .dbpro file.
Then just "runs path to compiler\dbpcompiler project.dbpro"

If you want any more info write a program that shows you what commands it recieves on the command line and rename the dbpcompiler.exe and put your program in its place and do stuff in the ide.

That combined with the list of commands in the editor directory should make it possible to make vi work yourself.

TheCyborg
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Denmark
Posted: 3rd Apr 2003 00:25
I also encountered problems with the debugger, but patch 4 seems to have fixed those...

There is a thing that really annoys me, especially when I was n00b...
Commands like "Timer()" and "CL$()" and other commands that needs the "()" symbols turns blue before theese symbols have been typed.. And even when the symbols have been typed they don't turn blue....
When I compiled some code like this:

...It compiled without errors, but only shows me a zero... I (as n00b) didn't know what the hell was wrong with that code...

TheCyborg Development.
http://TheCyborg.Amok.dk
The Ultimate Source To DarkBASIC Programming.
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 3rd Apr 2003 01:03
I agree with TheCyborg,

typing in 'timer' turns the command blue, but it shouldn't as command us actually timer()

so, typing:

randomize timer

is the same as

randomize 0

as compiler just treats 'timer' as an undeclared variable.

Took me bloody ages to realise I needed empty brackets on the end!

Gronda, Gronda
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 3rd Apr 2003 01:04
If you think thats bad, the following (which I've posted before) will also compile and run (and almost take out your machine) :



I do hope they improve the syntax checker in Patch 5...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 3rd Apr 2003 03:33
"typing in 'timer' turns the command blue, but it shouldn't as command us actually timer()"

That's an editor issue, not a compiler one (read: ask Guy to fix it).

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 3rd Apr 2003 19:46
Fix the timer problem yourself. Open the keywords file in the keywords directory of the editor directory and search for "TIMER" and change it to "TIMER()".

Login to post a reply

Server time is: 2026-07-11 12:02:27
Your offset time is: 2026-07-11 12:02:27