Blender  V3.3
Typedefs | Enumerations | Functions
BLI_string_cursor_utf8.h File Reference

Go to the source code of this file.

Typedefs

typedef enum eStrCursorJumpType eStrCursorJumpType
 
typedef enum eStrCursorJumpDirection eStrCursorJumpDirection
 

Enumerations

enum  eStrCursorJumpType { STRCUR_JUMP_NONE , STRCUR_JUMP_DELIM , STRCUR_JUMP_ALL }
 
enum  eStrCursorJumpDirection { STRCUR_DIR_PREV , STRCUR_DIR_NEXT }
 

Functions

bool BLI_str_cursor_step_next_utf8 (const char *str, size_t maxlen, int *pos)
 
bool BLI_str_cursor_step_prev_utf8 (const char *str, size_t maxlen, int *pos)
 
void BLI_str_cursor_step_utf8 (const char *str, size_t maxlen, int *pos, eStrCursorJumpDirection direction, eStrCursorJumpType jump, bool use_init_step)
 
void BLI_str_cursor_step_utf32 (const char32_t *str, size_t maxlen, int *pos, eStrCursorJumpDirection direction, eStrCursorJumpType jump, bool use_init_step)
 

Typedef Documentation

◆ eStrCursorJumpDirection

◆ eStrCursorJumpType

Enumeration Type Documentation

◆ eStrCursorJumpDirection

Enumerator
STRCUR_DIR_PREV 
STRCUR_DIR_NEXT 

Definition at line 20 of file BLI_string_cursor_utf8.h.

◆ eStrCursorJumpType

Enumerator
STRCUR_JUMP_NONE 
STRCUR_JUMP_DELIM 
STRCUR_JUMP_ALL 

Definition at line 14 of file BLI_string_cursor_utf8.h.

Function Documentation

◆ BLI_str_cursor_step_next_utf8()

bool BLI_str_cursor_step_next_utf8 ( const char *  str,
size_t  maxlen,
int *  pos 
)

Definition at line 99 of file string_cursor_utf8.c.

References BLI_str_find_next_char_utf8(), pos, and str.

Referenced by BLI_str_cursor_step_utf8().

◆ BLI_str_cursor_step_prev_utf8()

bool BLI_str_cursor_step_prev_utf8 ( const char *  str,
size_t  maxlen,
int *  pos 
)

◆ BLI_str_cursor_step_utf32()

void BLI_str_cursor_step_utf32 ( const char32_t *  str,
size_t  maxlen,
int *  pos,
eStrCursorJumpDirection  direction,
eStrCursorJumpType  jump,
bool  use_init_step 
)

◆ BLI_str_cursor_step_utf8()

void BLI_str_cursor_step_utf8 ( const char *  str,
size_t  maxlen,
int *  pos,
eStrCursorJumpDirection  direction,
eStrCursorJumpType  jump,
bool  use_init_step 
)