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 / DBPro editor has extraneous white spaces, cannot delete

Author
Message
mindsclay
14
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 1st Oct 2013 20:18
Has anyone seen this before? The editor has erroneous whitespace in my code that will not delete. If I try to delete them then the characters before the white spaces will delete instead. Trying to highlight the affected area causes the characters to jumble.

This did not exist when I originally wrote the code. I am recently back to it after writing an app in AGK. Now some of my text is corrupted in the IDE.

I have already uninstalled then re-installed the IDE but problem remains.

In the code example below you won't see the extra spaces in a variable name (between the name and index field, for example), but you can see how chaotic the code is. Where dsid all those white spaces come from? as I mentioned, I cannot delete them in the IDE. I will try opening in notepad to see if that helps remove the spaces.



www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)
mindsclay
14
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 1st Oct 2013 20:28
Here is an image from the IDE... There are spaces in the variable names and before the euals sign (but this does not happen everywhere)...


www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)
mindsclay
14
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 1st Oct 2013 20:42
ADDENDUM:

This is not occurring in any other editor, only the DBPro IDE.

I tried to re-type the code and the editor is putting apparent spaces between what I type and where the cursor is located. I have not seen this before in the IDE. What could be causing this?

I think it may be merely a problem with the way the text is displayed as the code seems to run just fine, but it is more difficult to read and verify correct syntax.

www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 1st Oct 2013 21:45
Have you restarted your machine?
Have you tried another DBPro IDE?

mindsclay
14
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 1st Oct 2013 21:47
This is an IDE bug associated with auto-indentation (automatically indent after new block) in Options>Editor. When I turned it off I could type and not get erroneous whitespaces, and some of the pre-existing spaces can be deleted, but not all of them.

www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)
Rudolpho
20
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 1st Oct 2013 22:41
As far as I know it's merely a visual bug in the IDE.
Thus, as long as you don't try to edit your source it should still be safe on file. If you do edit it however you may overwrite other parts than what it displays you. It's been a while since I last encountered this; does restarting the IDE not solve it?


"Why do programmers get Halloween and Christmas mixed up?"
mindsclay
14
Years of Service
User Offline
Joined: 1st May 2012
Location: Rocklin, CA, USA
Posted: 2nd Oct 2013 01:28
I have reset everything and even re-installed.

This started happening after I came back to this project since about 3 weeks ago. 3 weeks ago there was no issue. I have been using the same IDE for several months without this issue.

What other DBPro IDE is there if the latest version from The Game Creators is not the best?

www.mindsclay.com
lucifermagus.mindsclay.com (not working with Firefox)
wattywatts
17
Years of Service
User Offline
Joined: 25th May 2009
Location: Michigan
Posted: 2nd Oct 2013 01:36
Although I know of no way to resolve the issue, I can tell you that I do not trust the dbpro editor at all and keep all my code in txt documents. I don't even bother saving anything in the editor.

http://mattsmith.carbonmade.com/
Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 2nd Oct 2013 03:32
solution:
select all code, cut, paste

Login to post a reply

Server time is: 2026-07-08 19:19:36
Your offset time is: 2026-07-08 19:19:36