Blender V5.3
string_cursor_utf8.cc File Reference
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "BLI_string_cursor_utf8.hh"
#include "BLI_strict_flags.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Enumerations

enum  blender::eStrCursorDelimType {
  blender::STRCUR_DELIM_NONE , blender::STRCUR_DELIM_ALPHANUMERIC , blender::STRCUR_DELIM_PUNCT , blender::STRCUR_DELIM_BRACE ,
  blender::STRCUR_DELIM_OPERATOR , blender::STRCUR_DELIM_QUOTE , blender::STRCUR_DELIM_OTHER , blender::STRCUR_DELIM_WHITESPACE
}

Functions

static eStrCursorDelimType blender::cursor_delim_type_unicode (const uint uch)
static eStrCursorDelimType blender::cursor_delim_type_utf8 (const char *ch_utf8, const int ch_utf8_len, const int pos)
bool blender::BLI_str_cursor_step_next_utf8 (const char *str, int str_maxlen, int *pos)
bool blender::BLI_str_cursor_step_prev_utf8 (const char *str, int str_maxlen, int *pos)
void blender::BLI_str_cursor_step_utf8 (const char *str, int str_maxlen, int *pos, eStrCursorJumpDirection direction, eStrCursorJumpType jump, bool use_init_step)
bool blender::BLI_str_cursor_step_next_utf32 (const char32_t *str, int str_maxlen, int *pos)
bool blender::BLI_str_cursor_step_prev_utf32 (const char32_t *str, int str_maxlen, int *pos)
void blender::BLI_str_cursor_step_utf32 (const char32_t *str, int str_maxlen, int *pos, eStrCursorJumpDirection direction, eStrCursorJumpType jump, bool use_init_step)
void blender::BLI_str_cursor_step_bounds_utf8 (const char *str, int str_maxlen, int pos, int *r_start, int *r_end)
void blender::BLI_str_cursor_step_bounds_utf32 (const char32_t *str, int str_maxlen, int pos, int *r_start, int *r_end)