BBC BASIC
« text editor for data base help docs Jan 25 »

Welcome Guest. Please Login or Register.
Jul 26th, 2017, 02:37am


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

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: text editor for data base help docs Jan 25  (Read 266 times)
michael
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 54
xx text editor for data base help docs Jan 25
« Thread started on: Jan 21st, 2017, 04:59am »

After many hours of debugging, I finally got these text editors to work with mouse.
The mouse pointer will indicate the text box you are in. Everything runs in sync..

UPDATE:SAVE and LOAD function added. Useable.

The left side is affected by the location of your reference on right.
Every reference level you move adjusts your left side by 10 spaces up or down. But at a factor of 0,10,20,30...ect
So your reference can be thought of as the Content list

Your left side would be your notes.

This is a promising cross platform tool.


https://1drv.ms/u/s!AmYwmTjbmULXlD97K0nnVTx5nfKd



I declared this as a Free & Open Source project. Project development aimed at helping all BBC Basic Users become more productive. Here is a definition:

https://en.wikipedia.org/wiki/Free_and_open-source_software

« Last Edit: Jan 26th, 2017, 03:26am by michael » User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 488
xx Re: The first multiline Graphics text editor
« Reply #1 on: Jan 21st, 2017, 10:04am »

on Jan 21st, 2017, 04:59am, michael wrote:
Any suggestions would be appreciated

Apart from the shortcomings you've identified, the most obvious omission seemed to be no mouse (or touch) support at all! Every GUI text editor I've ever used has allowed you to position the caret (text cursor) by clicking or tapping.

I know you prefer 'reinventing the wheel' but I would draw your attention to the program editors in SDLIDE.bbc and touchide.bbc (both supplied with BBCSDL) which are written in BASIC and are fairly comprehensive in their features.

They could be reverted to plain-text editors relatively easily by omitting the indentation, syntax-coloring and line-number facilities, and using a non-tokenised backing store. I don't mind you 'borrowing' the code so long as you include an acknowledgement.

There is also of course a very functional editor in Andy Parkes' BBCEdit IDE which I think is already backed by a non-tokenised store.

Richard.
User IP Logged

michael
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 54
xx Re: The first multiline Graphics text editor
« Reply #2 on: Jan 21st, 2017, 1:21pm »

Thanks for the offer.

I actually am designing it like the help interface. I will add mouse support to the editor. Eventually, I plan to have 3 sections on the screen.

1 a graphics section for presentations
2 the editor/ viewer for handling the detailed information about the image ( engine rebuilds and mechanic info, as that is what I do for work)
3 scroll style menu for selecting subjects.

All sections will always be active, so it will be a proper learning tool (or for what ever someone else may need it for)

I think I will just put mouse scroll buttons and pointer instead of using the arrows

I know this revisits a similar project I did over a year ago, but I want to make it the reality I envisioned.
« Last Edit: Jan 21st, 2017, 1:52pm by michael » User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 488
xx Re: The first multiline Graphics text editor
« Reply #3 on: Jan 21st, 2017, 4:23pm »

on Jan 21st, 2017, 1:21pm, michael wrote:
Eventually, I plan to have 3 sections on the screen.
1 a graphics section for presentations
2 the editor/ viewer for handling the detailed information about the image ( engine rebuilds and mechanic info, as that is what I do for work)
3 scroll style menu for selecting subjects.
All sections will always be active

It's a pity that you prefer to 'go it alone' and not cooperate with anybody else. DLGLIB already has the necessary framework to support multiple controls on a 'parent window' (i.e. a dialogue box) in which one can move input focus from one to another.

It would be really useful to extend it to include additional types of controls, such as a graphicbox (your item 1) and a multi-line textbox (your item 2); it already has a scrollable listbox which does the job of your item 3. But that is not what you are proposing.

In your determination always to reinvent the wheel, I worry that we are going to end up with a lot of wonky, incompatible wheels - and, frankly, nobody is going to want to use them. sad

Richard.
User IP Logged

michael
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 54
xx Re: The first multiline Graphics text editor
« Reply #4 on: Jan 21st, 2017, 9:08pm »

Quote:
It's a pity that you prefer to 'go it alone' and not cooperate with anybody else


Its not that. In fact I try to get a team going all the time on the BBC4W forum. And after a year, people have contributed to the works.

I don't want to take something unless it is contributed so I can share it with everyone. I would be grateful for something that is contributed.

If I get my meat hooks on someone else's code and they get upset with what I do with it.. UGH!

The nice thing about BBC4W is that I could build things from the ground up.

If I make a special tool and someone contributes to its final structure, it will be a tool for everyone.

Quote:
I worry that we are going to end up with a lot of wonky, incompatible wheels - and, frankly, nobody is going to want to use them.


I guess its like making a sculpture.. you keep working on it until its perfect.

On BBC4W RETROLIB 10 has gained the interests of 732 people. It started out as a bunch of wonky wheels, but with modification and some code structure improvement from Zaphod and of course Richard, your word tool, it has become a useful powerful tool.

(and on that note, it would seem there are a lot more beginners looking for tools than some may realize)
There are also 601 members on BBC4W.. (its growing)

It has advanced beyond that, but the tools need more work to make them more flexible to use and indispensable.

Making a multi platform library is the goal.

The other idea is to make it work like Object Orientated Programming.

I plan to see how far I can go. I really want to make a D3D tool box. I have posted a snippet with the proposed structure for 3D creation and display all within the same code. It took some research and trial and error. But I have the basics worked out.. and by the way, it works on Windows 10, so it isn't obsolete.





« Last Edit: Jan 21st, 2017, 9:35pm by michael » User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
Pages: 1  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