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

[REBOL] Re: cursor line

From: brett:codeconscious at: 17-Aug-2001 15:35

> Of course, a more direct method might be better. I've experimented with > system/view/line-info, as you suggested, but I get nothing that seems > related to the current cursor line.
I stumbled across the following function TEXTINFO and it seems related but I have absolutely no idea how one uses it (sorry). Maybe it will help though.
>> help textinfo
USAGE: TEXTINFO face line-info line DESCRIPTION: Sets the line text information in an object for a face. TEXTINFO is a native value. ARGUMENTS: face -- The face for which the information is defined. (Type: object) line-info -- The object where the information will be set. (Type: object) line -- The line to get information for. (Type: number any-string)