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

[REBOL] Re: line-list

From: arolls:bigpond:au at: 14-Aug-2001 13:00

I am not sure, but you should look into: probe first system/view where you can find the line-info object. probe first system/view/line-info It looks to me like you can find the pixel coordinates of the cursor here (at least the y part): view layout [a: area] ; type some text system/view/line-info/offset == 2x47 ; eg. this was on the fourth line from the top system/view/caret ; index of the text system/view/line-info/start ; start of the current line