Loading ...
Sorry, an error occurred while loading the content.

RE: [Clip] Re: Index of cursor within document

Expand Messages
  • Jamal Mazrui
    Thanks, Hugo--that code should do it! Jamal ... From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of Hugo Paulissen Sent: Monday,
    Message 1 of 1 , May 10, 2005
    • 0 Attachment
      Thanks, Hugo--that code should do it!
      Jamal



      -----Original Message-----
      From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On
      Behalf Of Hugo Paulissen
      Sent: Monday, May 09, 2005 4:47 PM
      To: ntb-clips@yahoogroups.com
      Subject: [Clip] Re: Index of cursor within document


      "Jamal Mazrui" <Jamal.Mazrui@f...> wrote:

      > I know I can get the position of the cursor within the current row,
      and
      > the position of this row within the document, but is there a way to
      get
      > the position of the cursor within the document?


      Jamal,

      If you select everything from the cursor to the beginning of the file
      you can use ^$GetSelSize$ or ^$StrSize(^$GetSelection$)$...

      ^!SelectTo 1:1
      ^!INFO ^$GetSelSize$/^$GetTextSize$

      Hugo




      Fookes Software: http://www.fookes.us, http://www.fookes.com
      Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm

      Yahoo! Groups Links
    Your message has been successfully submitted and would be delivered to recipients shortly.