Add scripting to your application with Vbsedit !

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 VBScript and Javascript scripting
to your application with VbsEdit !



Download Now!

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




Home  

Copyright © 2001-2024 adersοft