mtext_property_end(3m17n)
β¨ NAME β¨
mtext_property_end β bestie, the name section is literally just the dash, the original page left it blank, so that's what we're working with π
(it's giving "mysterious", honestly)
π¦ SYNOPSIS π¦
int mtext_property_end (MTextProperty * prop)
π DESCRIPTION π
Okay so picture this: you've got a text property, right? A whole MTextProperty * prop. And you wanna know where it ends. That's it, that's the whole job. πΈ
mtext_property_end() returns the end position of the text property prop.
And like, what even is the end position, you ask? It's the character position of an M-text where prop ends. Character position, bestie, not byte position β don't get it twisted. π
BUT β and this is the important part, don't skip it β if prop is detached, it returns -1. That's it. That's the vibe check. Detached property = no position for you = -1. π«Ά
So like:
- attached property β the character position where it ends, slay β¨
- detached property β
-1, tragic, no cap π
π 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>.
lowkey legal note: that's the GNU Free Documentation License, and yes the link is literally http://www.gnu.org/licenses/fdl.html β go read it if you're nosy, i support it π
and that's the whole page, bestie!! π this was Version 1.8.4, dated Mon Sep 25 2023, straight from the m17n library's own manual, mtext_property_end(3m17n) β mwah, iconic, periodt πβ¨
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms