HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Structures | Enumerations | Functions
unicode_sentence_break.hpp File Reference
#include <tuple>

Go to the source code of this file.

Data Structures

class  v1::detail::unicode_sentence_break_info
 

Enumerations

enum class  unicode_sentence_break_property : uint8_t {
  Other , CR , LF , Extend ,
  Sep , Format , Sp , Lower ,
  Upper , OLetter , Numeric , ATerm ,
  SContinue , STerm , Close
}
 

Functions

void v1::detail::unicode_sentence_break_SB1_SB4 (unicode_break_vector &r, std::vector< unicode_sentence_break_info > &infos) noexcept
 
void v1::detail::unicode_sentence_break_SB5 (unicode_break_vector &r, std::vector< unicode_sentence_break_info > &infos) noexcept
 
void v1::detail::unicode_sentence_break_SB6_SB998 (unicode_break_vector &r, std::vector< unicode_sentence_break_info > &infos) noexcept
 
template<typename It , typename ItEnd , typename DescriptionFunc >
unicode_break_vector v1::unicode_sentence_break (It first, ItEnd last, DescriptionFunc const &description_func)
 The unicode word break algorithm UAX#29.
 

Function Documentation

◆ unicode_sentence_break()

template<typename It , typename ItEnd , typename DescriptionFunc >
unicode_break_vector v1::unicode_sentence_break ( It first,
ItEnd last,
DescriptionFunc const & description_func )
inline

The unicode word break algorithm UAX#29.

Parameters
firstAn iterator to the first character.
lastAn iterator to the last character.
description_funcA function to get a reference to unicode_description from a character.
Returns
A list of unicode_break_opportunity before each character.