|
Blender V5.3
|
#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 |
Definition at line 75 of file text_format.hh.
| const char* blender::TextFormatType::comment_line |
The prefix of a single-line line comment (without trailing space).
Definition at line 95 of file text_format.hh.
Referenced by 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().
| const char** blender::TextFormatType::ext |
Null terminated extensions.
Definition at line 92 of file text_format.hh.
Referenced by 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().
| char(*) blender::TextFormatType::format_identifier(const char *string) |
Definition at line 78 of file text_format.hh.
Referenced by 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(), blender::ED_text_format_register_py(), and blender::text_autocomplete_build().
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().
| TextFormatType* blender::TextFormatType::next |
Definition at line 76 of file text_format.hh.
| TextFormatType * blender::TextFormatType::prev |
Definition at line 76 of file text_format.hh.