API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IWIDGET_GETPREVIOUSLINE()

Brew Release
Brew MP 1.0.2
See Also
- IWidget_GetStartLine() - IWidget_GetNextLine()
Description
Given a character index (or position) in the text of a text widget, this function retrieves the character index where the previous line starts.
Params
pif
[in]:
Pointer to the IWidget object
nCharIndex
[in]:
Character index
pnPreviousLineCharIndex
[out]:
Will contain the character index where the previous line starts
Interface
Prototype
  •    int IWidget_GetPreviousLine(IWidget* pif, int nCharIndex, int *pnPreviousLineCharIndex)
    
Return
  •    AEE_SUCCESS - Retrieved the character index where the previous line starts
       AEE_EFAILED - Unable to retrieve the character index where the previous line starts
    
Side Effect
  • None.
Comments
None