LB Booster
« Editor Improvements »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 03:32am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Editor Improvements  (Read 1401 times)
JosephE
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 35
xx Editor Improvements
« Thread started on: Mar 1st, 2015, 8:44pm »

Now that LBB has syntax coloring, it'll make a great editor.

However, it's very difficult to debug things without line numbers.

Also, being able to set the tab width in spaces would be really nice. (And automatic indenting which respects the tab size specified)

Another idea long-term: a listbox along the vertical side that shows all text and bas files in the current folder. That would be really great for opening files quickly..and if they each opened up in their own tab...you'd have a really great little IDE on your hands.
« Last Edit: Mar 1st, 2015, 8:44pm by JosephE » User IP Logged

Richey
New Member
Image


member is offline

Avatar




PM


Posts: 14
xx Re: Editor Improvements
« Reply #1 on: Mar 1st, 2015, 9:28pm »

I second the request for automatic indenting...
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Editor Improvements
« Reply #2 on: Mar 1st, 2015, 11:02pm »

on Mar 1st, 2015, 8:44pm, JosephE wrote:
However, it's very difficult to debug things without line numbers.

Do you mean you want visible line numbers using up real-estate in the editor? How would that help with debugging?

Quote:
Also, being able to set the tab width in spaces would be really nice. (And automatic indenting which respects the tab size specified)

Do you simply want what LB 4.04 does: i.e. when you press Enter the cursor returns to the same indentation as the current line?

I still see LB Workshop as the most comprehensive IDE for LBB. There's no way I'd attempt to match the facilities it provides.

Richard.
User IP Logged

JosephE
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 35
xx Re: Editor Improvements
« Reply #3 on: Mar 1st, 2015, 11:31pm »

The automatic indenting where it matches the line above it sounds fine.

Yes, I think line numbers are a valuable use of screen real estate. wink I also realize they can be quite the pain to code, so no rush there.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Editor Improvements
« Reply #4 on: Sep 23rd, 2015, 4:45pm »

on Mar 1st, 2015, 11:31pm, JosephE wrote:
The automatic indenting where it matches the line above it sounds fine.

Automatic Indenting is now implemented in version 3.03.

Quote:
Yes, I think line numbers are a valuable use of screen real estate. ;) I also realize they can be quite the pain to code, so no rush there.

Liberty BASIC (and LBB) supports the use of line numbers as the destination of a GOTO, GOSUB or RESTORE - and those numbers do not necessarily correspond to the actual number of the line:

Code:
100 let n = n + 1
    print n
    if n < 10 then 100
    end 

Note that line 100 in the above program is actually line 1 as far as error reporting, the status bar and the Ctrl+G (goto line) features are concerned!

So I think it could be potentially misleading to display the 'line numbers' as you suggest because in a case such as the above a line could have two different numbers!

Richard.
User IP Logged

bluatigro
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 111
xx Re: Editor Improvements
« Reply #5 on: Oct 13th, 2015, 07:57am »


i want to have 'pages' in the ide

so i can edit more files at the same time

and a save all option in the file menu
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Editor Improvements
« Reply #6 on: Oct 13th, 2015, 08:26am »

on Oct 13th, 2015, 07:57am, bluatigro wrote:
i want to have 'pages' in the ide
so i can edit more files at the same time
and a save all option in the file menu

Liberty BASIC Workshop provides those capabilities, so one option would be to use that. There is a Wiki article on interfacing LBW with LBB here:

http://bb4w.wikispaces.com/Using+LBB+with+Liberty+BASIC+Workshop

Despite what is implied at the LBW web site, it runs perfectly well on 'modern' versions of Windows, including Windows 10 I believe.

I don't think it's likely that I will incorporate a tabbed editor in LBB itself, but I have previously discussed the possibility of releasing the source of the IDE (it's written in BASIC) which would provide the opportunity for somebody else to enhance it. The main issues with doing that are that the 'Load TKN' and 'Make Executable' features would need to be redacted for security reasons.

Richard.
User IP Logged

RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Re: Editor Improvements
« Reply #7 on: Oct 13th, 2015, 08:53am »

I can confirm that LB Workshop works fine on Windows 7, 8.1 and 10. I use it as my main editor for LBB.
User IP Logged

AAW
New Member
Image


member is offline

Avatar




PM


Posts: 22
xx Re: Editor Improvements
« Reply #8 on: Oct 13th, 2015, 09:58am »

on Oct 13th, 2015, 08:26am, Richard Russell wrote:
Liberty BASIC Workshop provides those capabilities, so one option would be to use that. There is a Wiki article on interfacing LBW with LBB here:

http://bb4w.wikispaces.com/Using+LBB+with+Liberty+BASIC+Workshop

Despite what is implied at the LBW web site, it runs perfectly well on 'modern' versions of Windows, including Windows 10 I believe.

Richard.


It is not implied. It is stated. I began working on LBW in 1999. (I won't detail the sheer amount of work involved, and it is an accomplishment that makes me proud.)

After Windows Vista was released, I had to make changes to the file handling system. After a time, some people reported problems loading LBW that appeared to be related to the recent files list. I went through each bit of code over and over. I couldn't replicate the problems, nor fix them. Only a small percentage of people reported problems, but it was always my goal to fix any bugs (or implement suggestions) quickly.
User IP Logged

RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Re: Editor Improvements
« Reply #9 on: Oct 15th, 2015, 09:36am »

Alyce

You are rightly proud of LB Workshop. It is a superb bit of software and much more than just a IDE for coding LB and LBB.

I have used it on Windows XP, 7, 8.1 and 10 and have not had problems. If a small number of people have had problems, then I would change the wording on your web site to indicate this.

It is far too good to sit on the shelf and, if you have the time or inclination, I would suggest that you continue to develop it.

Ray
User IP Logged

AAW
New Member
Image


member is offline

Avatar




PM


Posts: 22
xx Re: Editor Improvements
« Reply #10 on: Oct 15th, 2015, 11:08am »

Since Richard brought up LBW, I will respond to this, but I'd like to avoid discussion of my own software on a forum dedicated to other software. (You'll notice that I do not do so on the Community Forum, and when members post about it, I answer briefly and point them to my forum.)

I appreciate your incredibly kind words. LBW is still available. It is not for sale, nor is it supported. My breaking point was that people would purchase it before trying. They would then complain that it wouldn't work. I went around and around trying to make it work for them, then (usually) ended by giving them a refund. At this point in my life, I haven't the time or energy to properly support my software. In an attempt to be kind and generous, I pay for my website and give away everything for free.

I do not even have a CD drive on my current PC. I could not easily install Visual Studio 6. Perhaps I could not install it at all. I haven't tried. I have no way to further develop LBW. When MS moved to the .NET framework, they advised owners of VB 6 to rewrite code from the ground up, since porting would be extremely difficult, if not impossible; for this reason, I never attempted to move to a different development tool.

Thanks for saying nice things about LBW, Ray.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Editor Improvements
« Reply #11 on: Oct 15th, 2015, 11:34am »

on Oct 15th, 2015, 11:08am, AAW wrote:
LBW is still available. It is not for sale, nor is it supported.

I do agree with Ray that you should change "Does not work reliably on versions of Windows later than Windows XP" to "May not work reliably..." or even "Has not been thoroughly tested on versions of Windows later than Windows XP". You do yourself and the product a disservice by stating that it doesn't work; I've never noticed any problem with the Recent Files List and it may be that the bug was in Windows Vista, not your code.

Richard.
User IP Logged

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

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls