New topic: 

TextArea line numbers

<http://forums.realsoftware.com/viewtopic.php?t=37970>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        MaxMBJ          Post subject: TextArea line numbersPosted: Sun 
Mar 06, 2011 10:51 pm                         
Joined: Thu Feb 03, 2011 11:47 am
Posts: 37                How can I find the last line of a textarea?  I have a 
scrollable textarea which may have several thousand lines of text.  I can't 
find a property that tells me what the last line number is.  I know there must 
be a way.

Any help is much appreciated.   
                             Top                 DaveS          Post subject: 
Re: TextArea line numbersPosted: Mon Mar 07, 2011 12:52 am                      
           
Joined: Sun Aug 05, 2007 10:46 am
Posts: 2831
Location: San Diego, CA                
linenum=textarea1.LineNumAtCharPos(textarea1.len)      
_________________
Dave Sisemore
MacPro, OSX 10.6.4 RB2009r5.1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to