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

Developer

API Reference

ITEXTMODEL_GETTEXTINFO()

Brew Release
Brew MP 1.0.2
See Also
Description
This function retrieves information about the text stored in a text model, including the current selection range and a pointer to the stored text.
Params
pif
[]:
Pointer to the ITextModel interface object.
pTextInfo
[]:
Pointer to a TextInfo data structure, which contains the parameters for the current selection, the length of the text, and a pointer to the stored text.
Interface
Prototype
  •    void ITextModel_GetTextInfo(ITextModel *pif, TextInfo *pTextInfo); 
    
Return
  • ITextModel_GetTextInfo() returns a pointer to a TextInfo data structure, which contains the start and end position of the current selection, the length of the text, and a pointer to the stored text.
Side Effect
  • None
Comments
None