BBC BASIC
« SDLIDE - feedback requested »

Welcome Guest. Please Login or Register.
Jan 22nd, 2018, 5:17pm


Cross-platform BBC BASIC (Win32, Linux x86, Android, Mac OS-X, Raspberry Pi)

« Previous Topic | Next Topic »
Pages: 1 2  Notify Send Topic Print
 hotthread  Author  Topic: SDLIDE - feedback requested  (Read 1016 times)
mschmalenbach
New Member
Image


member is offline

Avatar




PM


Posts: 3
exclamation Re: SDLIDE - feedback requested
« Reply #15 on: Dec 30th, 2017, 1:59pm »

Firstly, Happy New Year!
Secondly, thank you for creating all of this, and continuing to work on it.

I'm finally able to spend time doing 'geekery' as my wife calls it!

I've been working on a 'tiny pascal' compiler, written in BBC Basic. It's aimed at generating code for smaller Microchip PIC microcontrollers. I plan to port it to my BBC Master once it's up & running.

Everything has been fine until this morning.

I'm using the SDLIDE v0.19b environment, which took only a short while to become familiar with.

This morning I fired it up and got strange mouse behaviour. As SDLIDE starts up, the mouse point jumps to approx the same place on the IDE screen - towards the top right.

Within the edit space itself the mouse behaves after this jump. But moving to anywhere in the ribbon bar across the top of the window, where the various tools & command icons are, and the mouse pointer jumps towards the top edge of the window, above the ribbon bar. Any attempt to move the mouse pointer back down to whichever icon I want to click on, or menu bar element I want to click on, and the mouse pointer jumps back up towards the top again. This behaviour happens only in the vertical axis. In the horizontal axis it is fine.

If I move the mouse pointer outside the SDL window to the rest of my desktop, mouse pointer behaviour returns to normal.

This has made using SDLIDE impossible.

I tried to put SDLIDE in to full screen mode, which was easy - the mouse pointer behaves around the normal window controls (the 3 coloured circles top left on any MacOS window) - once in full screen mode normal service was resumed with the mouse pointer, including after taking it out of full screen mode.

I've been able to repeatedly observe these behaviours having shut down SDLIDE multiple times etc - and restarted my Mac - not something you normally have to do compared with a Windows PC.

The other IDE that comes with this version of BBC Basic for the Mac is lacking many of the features of SDLIDE I rely on, and won't run the source code I've created anyway...

I have a short piece of video - a screen recording - of the problem, should this prove of use to you.

Cheers

Martin
User IP Logged

mschmalenbach
New Member
Image


member is offline

Avatar




PM


Posts: 3
xx Re: SDLIDE - feedback requested
« Reply #16 on: Dec 30th, 2017, 2:04pm »

Feature adds...

I've only been working with SDLIDE for a few days. There are many things about it I really like.

One thing I do miss is when at the end of a line of text, when moving the cursor to the right with the keyboard cursor keys, I would love for the cursor to move to the start of the line below.

Equally, when at the start of a line of source code, moving the cursor to the left via the keyboard, I'd love for the cursor to move to the end of the text of the line above.

It's perhaps my only enduring niggle.

For the runtime environment, I would love it if the output of my session when running my apparently text-only basic code (I don't make use of graphics, windows or anything like that) - I'd love to be able to scroll the output screen up and see previously created output... like I can scrolling a TERMINAL screen when I'm in a CLI session on my Mac.

I appreciate there may be weird & wonderful reasons why none of these requests for feature adds is possible, and none of them are show stoppers.

Cheers

Martin
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 691
xx Re: SDLIDE - feedback requested
« Reply #17 on: Dec 30th, 2017, 4:38pm »

on Dec 30th, 2017, 1:59pm, mschmalenbach wrote:
I have a short piece of video - a screen recording - of the problem, should this prove of use to you.

No, unfortunately I can't help unless there's some way in which I can reproduce the issue here, which seems unlikely. It probably stems from SDL 2.0 anyway, rather than being a fault in my own code (one would expect that to affect all platforms, rather than just the Mac). I could try updating SDL to a later version in case it's a bug they've fixed, but past experience causes me to be cautious about doing that!

As you may have read elsewhere, BBCSDL will in any case stop working on Macs sometime in 2018 because Apple is dropping support for 32-bit applications, and only today I realised that the experimental 64-bit version (which I had hoped might be able to replace it) has a fatal flaw, for which I currently know of no workaround. sad

Quote:
when moving the cursor to the right with the keyboard cursor keys, I would love for the cursor to move to the start of the line below.

By all means make that modification yourself, and submit the code changes here if you like, but I wouldn't be keen on making it the 'standard' behaviour because it's different from how the BB4W editor works (which after 16 years I, and I suspect rather a lot of other people, am very accustomed to).

Quote:
when at the start of a line of source code, moving the cursor to the left via the keyboard, I'd love for the cursor to move to the end of the text of the line above.

Again, feel free to make that modification. It currently works the same as the BB4W editor, but I'm not as 'attached' to that behaviour as I am to the 'moving right past the end of line' case, so I might be prepared to incorporate the change.

There are certainly 'oddities' in the way the SDLIDE editor behaves that I'm not happy with, but have failed to find a solution to (without breaking something else). For example the fact that you cannot backspace through the 'line number field' is peculiar, as is the way search-and-replace can sometimes cause numeric constants to turn into line numbers! embarassed

Richard.
« Last Edit: Dec 30th, 2017, 4:40pm by Richard Russell » User IP Logged

Pages: 1 2  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls