logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mtext_get_property -

Description

       Get the topmost text property. The mtext_get_property() function searches the character at position pos
       in M-text mt for a text property whose key is key.

Name

       mtext_get_property -

Return Value

           If a text property is found, mtext_get_property() returns it. If there are multiple text properties,
           it returns the topmost one. If no such property is found, it returns NULL without changing the
           external variable merror_code.

       If an error is detected, mtext_get_property() returns NULL and assigns an error code to the external
       variable merror_code.

Synopsis

MTextProperty* mtext_get_property (MText * mt, int pos, MSymbol key)

See Also