mtext_get_property -
Contents
Copyright
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free
Documentation License <http://www.gnu.org/licenses/fdl.html>.
Version 1.8.4 Mon Sep 25 2023 mtext_get_property(3m17n)
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)
