LB Booster
Programming >> Compatibility with LB4 >> Text Editor
http://lbb.conforums.com/index.cgi?board=compatibility&action=display&num=1373883348

Text Editor
Post by TexasPete on Jul 15th, 2013, 10:15am

Compiling a standard text editor with lb the text editor does not have word wrap. Using lb booster, can that feature be switched on with style bits. Currently, I am modify a texteditor that uses api calls. Will there be any problem compiling standard api calls with lb.
Texas Pete
I have just about finished modifications.
Re: Text Editor
Post by Richard Russell on Jul 15th, 2013, 1:39pm

on Jul 15th, 2013, 10:15am, TexasPete wrote:
Using lb booster, can that feature be switched on with style bits.

Yes. In LB4 the texteditor doesn't support wordwrap, but in LBB you can enable wordwrap as follows:

Code:
stylebits #w.te, 0, _ES_AUTOHSCROLL or _WS_HSCROLL, 0, 0
texteditor #w.te, 10, 10, 280, 280
open "Wordwrap test" for window as #w
wait 

Richard.
Re: Text Editor
Post by TexasPete on Jul 16th, 2013, 11:07am

Thanks, Russel.
I will give it a try.
Texas Pete
Re: Text Editor
Post by TexasPete on Jul 16th, 2013, 11:33am

I compiled a text editor program with the lb booster.
It did indeed have word wrap and compiled the program with out any errors. You have a fine little product. I am sure that I will have to do some tweaks here and there. I love Carls program but it is taking him forever to come up with the new version. I will recommend your program on my site. It is a great tool. I would like to send you some money. I will this week.
Texas Pete
Re: Text Editor
Post by Richard Russell on Jul 16th, 2013, 8:43pm

on Jul 16th, 2013, 11:33am, TexasPete wrote:
I would like to send you some money. I will this week.

It's entirely unnecessary; LB Booster is freeware. All I ask is that you spread the word! I am sure there are many LB programmers who would find LBB useful, but don't even know it exists.

Richard.