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

Re: Index of cursor within document

Expand Messages
  • Hugo Paulissen
    ... and ... get ... Jamal, If you select everything from the cursor to the beginning of the file you can use ^$GetSelSize$ or ^$StrSize(^$GetSelection$)$...
    Message 1 of 3 , May 9, 2005
    • 0 Attachment
      "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
    Your message has been successfully submitted and would be delivered to recipients shortly.