Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] line-list

From: hijim::pronet::net at: 13-Aug-2001 19:04

my-lines/text: length? my-area/line-list That statement gives me the number of lines in my file, which is nice to know -- especially for printing.. I'm wondering if anyone knows how to find out the line number the cursor is on. I've tried a couple of things and managed to freeze the screen with no exit. REBOL gives the line number where an error has occurred. I'd like to be able to identify the line I'm on in a text area. Thanks, Jim