Add scripting to your application with Vbsedit Embedded!

IDebugDocumentText::GetLineOfPosition

 

Returns the line number and, optionally, the character offset within the line that corresponds to the given character-position.

HRESULT GetLineOfPosition(
   ULONG   cCharacterPosition,
   ULONG*  pcLineNumber,
   ULONG*  pcCharacterOffsetInLine
);

cCharacterPosition

[in] Start location of the character position range.

pcLineNumber

[out] The line number of the range.

pcCharacterOffsetInLine

[in, out] The character offset of the range within line pcLineNumber. If this parameter is NULL, the method does not return a value.

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value

Description

S_OK

The method succeeded.

This method returns the line number and, optionally, the character offset within the line that corresponds to the given character-position.


Add Scripting to your application with VbsEdit Embedded!


Download Vbsedit Embedded

This package includes VbsEdit Embedded 32-bit and 64-bit.




Home  

Copyright © 2001-2019 adersοft