Blender V5.3
text_format.cc File Reference
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.hh"
#include "BLI_path_utils.hh"
#include "BLI_string.hh"
#include "BLI_string_utf8.hh"
#include "BLI_string_utils.hh"
#include "DNA_space_types.h"
#include "DNA_text_types.h"
#include "ED_text.hh"
#include "text_format.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::flatten_string_append (FlattenString *fs, const char *c, int accum, int len)
int blender::flatten_string (const SpaceText *st, FlattenString *fs, const char *in)
void blender::flatten_string_free (FlattenString *fs)
int blender::flatten_string_strlen (FlattenString *fs, const char *str)
int blender::text_check_format_len (TextLine *line, uint len)
void blender::text_format_fill (const char **str_p, char **fmt_p, const char type, const int len)
void blender::text_format_fill_ascii (const char **str_p, char **fmt_p, const char type, const int len)
void blender::ED_text_format_register (TextFormatType *tft)
TextFormatType * blender::ED_text_format_get (Text *text)
const char * blender::ED_text_format_comment_line_prefix (Text *text)
bool blender::ED_text_is_syntax_highlight_supported (Text *text)
int blender::text_format_string_literal_find (const Span< const char * > string_literals, const char *text)
bool blender::text_format_string_literals_check_sorted_array (const Span< const char * > string_literals)

Variables

static ListBaseT< TextFormatType > blender::tft_lb = {nullptr, nullptr}