mtext_push_property(3m17n)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

mtext_push_property β€” bestie this is the one from the m17n Library (that's the manual we're living in, section 3m17n πŸ’–)


🌸 SYNOPSIS 🌸

int mtext_push_property (MText * mt, int from, int to, MTextProperty *
prop)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you've got an M-text and you wanna push a text property onto it. That's literally the whole job. The mtext_push_property() function pushes text property prop to the characters between from (inclusive) and to (exclusive) in M-text mt.

read that again bestie, the inclusivity is the moment: from is IN, to is OUT. it's giving half-open interval, it's giving math class but make it cute. πŸ’…


πŸ‘‘ RETURN VALUE πŸ‘‘

  • if everything went slay? mtext_push_property() returns 0. no notes, flawless, periodt. ✨
  • if it did not go slay? it returns -1 and assigns an error code to the external variable merror_code. so check merror_code when you see that -1, iykyk. 😭

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>.


and that's the whole page, bestie 🫢 this was Version 1.8.4, dated Mon Sep 25 2023, and yes it really is mtext_push_property(3m17n) through and through. go forth and push those properties, you absolute icon 🌈⭐

πŸ“¦ where this page comes from