Cursor Position in characters

gek22
2010-07-05
2013-03-19
  • gek22

    gek22 - 2010-07-05

    Hi,
    Is there any way of displaying the character position of the cursor within a document?
    There is the line and column position if I click around the document but knowing the numerical character position would be useful too.
    Sorry if this is an easy one!

     
  • cchris

    cchris - 2010-07-05

    You need to send the SCI_GETCURRENTPOS message to the current Scintilla and to retieve the returned value. You can do this using a scripting plugin or NppExec - probably the simplest way.

    CChris

     
  • Fool4UAnyway

    Fool4UAnyway - 2010-07-05

    Perhaps switch to Hex Editor mode temporarily?

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks