man mtext_property_end () - Return the end position of a text property.

NAME

mtext_property_end - Return the end position of a text property.

SYNOPSIS

int mtext_property_end (MTextProperty * prop)

DESCRIPTION

The mtext_property_end() function returns the end position of text property prop. The end position is a character position of an M-text where prop ends. If prop is detached, it returns -1.