Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - aonyn

#106
Hi Gernot,

I just reproduced it easily.

Here is how I typed my functions.
Code (glbasic) Select

FUNCTION drawWorld: x%, y% // draws world nodes
DRAWSPRITE sprEmpty, grid[x][y].x, grid[x][y].y
ENDFUNCTION

FUNCTION drawEntity: id%, xNode%, yNode% // draws entities
IF imgSeg[id].isEmpty = FALSE
DRAWSPRITE imgSeg[id].spr, grid[xNode][yNode].x, grid[xNode][yNode].y
ENDIF
ENDFUNCTION


I had them folded, pressed 'save all opened files', and closed the IDE.
Then when I reopened, the folded functions had no space between.
Unfold them, and they look like this.

Code (glbasic) Select

FUNCTION drawWorld: x%, y% // draws world nodes
DRAWSPRITE sprEmpty, grid[x][y].x, grid[x][y].y
ENDFUNCTION
FUNCTION drawEntity: id%, xNode%, yNode% // draws entities
IF imgSeg[id].isEmpty = FALSE
DRAWSPRITE imgSeg[id].spr, grid[xNode][yNode].x, grid[xNode][yNode].y
ENDIF
ENDFUNCTION


As you see, there is no real damage, just lost whitespace.

regards,
Dave
#107
Hi Gernot,

I have been playing with this today a bit, and in several times of folding, opening, saving, closing the IDE, opening the IDE, etc...
I have only seen this happen again once, but yes it did happen again.

Unfortunately, I have not been able to figure out the condition which causes this to occur, so I can't give you anything precise yet, but I will try to be observant about it, so I can give you useful feedback on the problem.

The good news is, in the two times I have seen this happen, it has not damaged the source, only removed the extra space I leave between functions, so it is not a critical bug.

When I notice a pattern with possible clues to why or when this happens, I will post back in this thread to you.

regards,
Dave
#108
Hi Gernot,

This is not a major bug, but perhaps a bug nonetheless.
In the IDE, I just noticed, if you save a file with folded functions, close the project, and reopen it later, then unfold the folded functions, white space (blank line) separating the functions is lost.

Of course this is not a showstopper, just a nuisance bug, I just like to separate my functions with a blank line.

I have not noticed this before, so I will test it more, and see if I can reproduce it reliably, or if it is sporatic.

regards,
Dave
#109
YIKES!!!!  :blink:
#110
Haha, just smiled again  =D
Definately one of the best avatars I have ever seen.

regards,
Dave
#111
Ah, nice Gernot, that will allow more OOP style with methods.
Please though, don't allow OOP to take over to the point it is required.
OOP is great when it can be used as a tool as needed.

Thanks.

@ Schranz0r - I just want to mention, I love your avatar, it makes me smile everytime I see one of your posts.  =D
Did you make that character?

regards,
Dave
#112
Hi Ocean,

Sounds good, thanks. It is not in the near term plans, but it is something I want to do when I have the opportunity.

regards,
Dave
#113
Hi Ocean,

Yes, MSFS is nice for sight seeing, but the fluid flight model and fluid instruments definately make X-Plane the correct choice for flying.
MSFS always feels like you are on rails by comparison, with the exception of a few fine 3rd party payware planes (like those from RealAirSimulations).

I am in Salisbury, Maryland USA. Perhaps one day I will come visit your side of the pond though. I have a couple of online friends in Germany, one lives in Ulm, and the other lives in Mannheim. So Germany will certainly be a destination when I do manage to travel.

regards,
Dave
#114
Hi Ocean,

That is very cool!
I use X-Plane as well, been using X-Plane since ver5, and still using ver9 frequently.
I have also at least tried about every other flight sim available since the early '90s. (I loved the flight unlimited series - it is a shame Looking Glass Studios is no more.)

I started in development with Victory Simulations, and Xtreme Air Racing as a 3D modeler, and as lead artist for XAR2.
I have also worked with Abacus making addons for MSFS, and I was on the Fighter Ops team for several years, but left that project for personal reasons recently.

I would love to get a PPL, but between time and money, it seems I am always short of one or the other, but I still hope some day, I will get to it.

Anyway, it is very nice to meet you here.

regards,
Dave
#115
Thanks for the welcome Ocean!

I don't feel quite so much a stranger in a strange land now, knowing other PB users are here too.
Under your avatar, "I'd rather be flying...".
Are you a pilot? A flight simmer?

I ask because I have a long background in flightsim development, and I am an avid flight simmer.
So perhaps we have more in common than PB. :)

regards,
Dave
#116
Hi Gernot,

I think this will be a very good addition to the GLBasic IDE.
Thank you for considering implementing it.
If you need anything explained further than you can gather from the screenshot, please ask here and I will try to explain it with more detail.

@ Ocean - Hi, it is nice to see a fellow PB user here. :-)

regards,
Dave
#117
Hi Gernot,

This is not a crucial request, but could be very handy.
As I have said in introductions, I am from the PureBasic community, and this request comes directly from a feature I like very much in the PureBasic IDE.

It is an additional tab on the right side window of the IDE, to add along with  "Jumps", "Files", "Web", and "Debug".
The new tab would be "Templates" as it is called in PureBasic, although "Snippets could also be appropriate, and unique to GLBasic.

This tab in purebasic displays a workspace with a treeview.
The treeview is built by the user to add folders and organize code snippets which are commonly used by the user, which can be easily and directly added to any code being worked on in the ide.
In PureBasic, this is done simply by double clicking the entry in the treeview, the snippet is placed where the cursor is currently sitting in the project code.

I have attached a screenshot which will hopefully explain better than I can with words.
It shows the treeview I describe on the sidebar, the edit dialog for the code snippet / template, as well as the same code inserted in my main edit window in the ide.

This system is very nice for storing functions / procedures which are used frequently.

Please let me know if this interests you enough to consider, and if so, I will try to give you more detail on how it works.

regards,
Dave



[attachment deleted by admin]
#118
Thats Good News  :)
I do like the way your online documentation is organized.
Thanks MrTAToad!

regards,
Dave
#119
Hi Moru,

I just found the log file, and also tried the CLEARSCREEN command I mentioned in the editor, and saw the syntax for usage just as you said.
Thanks again, your reply was very helpful.

regards,
Dave

#120
Thanks for the quick reply Moru!

I will go read log_e.gbas now.
Also thanks for the tip about the tooltip line at the bottom of the editor. That does sound handy!

regards,
Dave