Blender V5.3
blender::TextFormatType Struct Reference

#include <text_format.hh>

Public Attributes

TextFormatType * next
TextFormatType * prev
char(*) format_identifier (const char *string)
void(*) format_line (SpaceText *st, TextLine *line, bool do_next)
const char ** ext
const char * comment_line

Detailed Description

Definition at line 75 of file text_format.hh.

Member Data Documentation

◆ comment_line

const char* blender::TextFormatType::comment_line

◆ ext

◆ format_identifier

◆ format_line

void(*) blender::TextFormatType::format_line(SpaceText *st, TextLine *line, bool do_next)

Formats the specified line. If do_next is set, the process will move on to the succeeding line if it is affected (eg. multi-line strings). Format strings may contain any of the following characters:

It is terminated with a null-terminator \0 followed by a continuation flag indicating whether the line is part of a multi-line string.

See: FMT_TYPE_* enums below

Definition at line 90 of file text_format.hh.

Referenced by blender::draw_text_main(), blender::ED_text_format_register_glsl(), blender::ED_text_format_register_osl(), blender::ED_text_format_register_pov(), blender::ED_text_format_register_pov_ini(), and blender::ED_text_format_register_py().

◆ next

TextFormatType* blender::TextFormatType::next

Definition at line 76 of file text_format.hh.

◆ prev

TextFormatType * blender::TextFormatType::prev

Definition at line 76 of file text_format.hh.


The documentation for this struct was generated from the following file: