Lines Matching refs:EndHyphenEdit
73 enum class EndHyphenEdit : uint8_t { enum
100 inline HyphenEdit packHyphenEdit(StartHyphenEdit start, EndHyphenEdit end) { in packHyphenEdit()
104 inline EndHyphenEdit endHyphenEdit(HyphenEdit hyphenEdit) { in endHyphenEdit()
105 return static_cast<EndHyphenEdit>(hyphenEdit & MASK_END_OF_LINE); in endHyphenEdit()
112 inline bool isReplacement(EndHyphenEdit hyph) { in isReplacement()
113 return hyph == EndHyphenEdit::REPLACE_WITH_HYPHEN; in isReplacement()
120 inline bool isInsertion(EndHyphenEdit hyph) { in isInsertion()
121 return static_cast<uint8_t>(hyph) >= static_cast<uint8_t>(EndHyphenEdit::INSERT_HYPHEN); in isInsertion()
147 inline std::pair<const uint16_t*, size_t> getHyphenString(EndHyphenEdit hyph) { in getHyphenString()
149 case EndHyphenEdit::REPLACE_WITH_HYPHEN: // fall through in getHyphenString()
150 case EndHyphenEdit::INSERT_HYPHEN: in getHyphenString()
152 case EndHyphenEdit::INSERT_ARMENIAN_HYPHEN: in getHyphenString()
154 case EndHyphenEdit::INSERT_MAQAF: in getHyphenString()
156 case EndHyphenEdit::INSERT_UCAS_HYPHEN: in getHyphenString()
158 case EndHyphenEdit::INSERT_ZWJ_AND_HYPHEN: in getHyphenString()
160 case EndHyphenEdit::NO_EDIT: in getHyphenString()
167 EndHyphenEdit editForThisLine(HyphenationType type);