Author | 
 Topic: Text Editor  (Read 787 times) | 
 
 
 | 
 
 
TexasPete
 New Member
 
  member is offline
  
  Excellance is a often a long path. 
    
    
 Gender:   
Posts: 23 
 | 
  | 
Text Editor 
« Thread started 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.
 | 
 
| « Last Edit: Jul 15th, 2013, 10:16am by TexasPete » | 
  Logged
 | 
               
             
            
             
             | 
           
         
         | 
       
     
     | 
   
 
Richard Russell
 Administrator
 
  member is offline
  
 
  
    
     
  
Posts: 1348 
 | 
  | 
Re: Text Editor 
« Reply #1 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.
 | 
 
 | 
  Logged
 | 
               
             
            
             
             | 
           
         
         | 
       
     
     | 
   
 
TexasPete
 New Member
 
  member is offline
  
  Excellance is a often a long path. 
    
    
 Gender:   
Posts: 23 
 | 
  | 
Re: Text Editor 
« Reply #2 on: Jul 16th, 2013, 11:07am » | 
 | 
 
 
 
Thanks, Russel. I will give it a try. Texas Pete
 | 
 
 | 
  Logged
 | 
               
             
            
             
             | 
           
         
         | 
       
     
     | 
   
 
TexasPete
 New Member
 
  member is offline
  
  Excellance is a often a long path. 
    
    
 Gender:   
Posts: 23 
 | 
  | 
Re: Text Editor 
« Reply #3 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    
 | 
 
 | 
  Logged
 | 
               
             
            
             
             | 
           
         
         | 
       
     
     | 
   
 
Richard Russell
 Administrator
 
  member is offline
  
 
  
    
     
  
Posts: 1348 
 | 
  | 
Re: Text Editor 
« Reply #4 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. 
 | 
 
 | 
  Logged
 | 
               
             
            
             
             | 
           
         
         | 
       
     
     | 
   
 
 
 |