LB Booster
IDE and Compiler >> Program editor >> Editor Improvements http://lbb.conforums.com/index.cgi?board=editor&action=display&num=1439659495 Editor Improvements
Post by JosephE 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.
Re: Editor Improvements
Post by Richey on Mar 1st, 2015, 9:28pm
I second the request for automatic indenting...
Re: Editor Improvements
Post by Richard Russell on Mar 1st, 2015, 11:02pm
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.
Re: Editor Improvements
Post by JosephE 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. I also realize they can be quite the pain to code, so no rush there.
Re: Editor Improvements
Post by Richard Russell on Sep 23rd, 2015, 4:45pm
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. Re: Editor Improvements
Post by bluatigro 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
Re: Editor Improvements
Post by Richard Russell on Oct 13th, 2015, 08:26am
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.
Re: Editor Improvements
Post by RNBW 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.
Re: Editor Improvements
Post by AAW on Oct 13th, 2015, 09:58am
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.
Re: Editor Improvements
Post by RNBW 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
Re: Editor Improvements
Post by AAW 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.
Re: Editor Improvements
Post by Richard Russell on Oct 15th, 2015, 11:34am
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.