96 "Antialias_Confidence",
100 "Antialias_Threshold",
115 "Bounding_Threshold",
121 "Create_Continue_Trace_Log",
137 "Fatal_Error_Command",
138 "Fatal_Error_Return",
146 "Glare_Desaturation",
149 "HideWhenMainMinimized",
170 "NormalPositionBottom",
171 "NormalPositionLeft",
172 "NormalPositionRight",
183 "ParseErrorSoundEnabled",
185 "Post_Frame_Command",
187 "Post_Scene_Command",
196 "Preview_Start_Size",
199 "ReadWriteSourceDir",
201 "RenderCompleteSound",
202 "RenderCompleteSoundEnabled",
204 "RenderErrorSoundEnabled",
211 "SaveSettingsOnExit",
214 "SecondaryINISection",
225 "Subset_Start_Frame",
236 "User_Abort_Command",
366 char cont_orig, cont, find, prev =
' ';
372 cont = fmt[strlen(fmt) + 1];
380 if (line->
format !=
nullptr) {
382 cont_orig = fmt[strlen(fmt) + 1];
415 if (*
str ==
']' && *(
str + 1) ==
']') {
444 else if (
ELEM(*
str,
'"',
'\'')) {
451 else if (*
str ==
' ') {
512 if (cont != cont_orig && do_next && line->
next) {
528 static const char *ext[] = {
"ini",
nullptr};
ccl_device_inline dual1 len(const ccl_private dual< T > &a)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
int flatten_string(const SpaceText *st, FlattenString *fs, const char *in)
bool text_check_identifier(char ch)
bool text_check_digit(char ch)
int text_check_format_len(TextLine *line, uint len)
static char txtfmt_pov_ini_format_identifier(const char *str)
void ED_text_format_register_pov_ini()
bool text_format_string_literals_check_sorted_array(const Span< const char * > string_literals)
static int txtfmt_ini_find_keyword(const char *string)
static const Span< const char * > text_format_pov_ini_literals_keyword(text_format_pov_ini_literals_keyword_data, ARRAY_SIZE(text_format_pov_ini_literals_keyword_data))
int text_format_string_literal_find(const Span< const char * > string_literals, const char *text)
static int txtfmt_ini_find_bool(const char *string)
bool text_check_delim(char ch)
static int txtfmt_ini_find_reserved(const char *string)
void flatten_string_free(FlattenString *fs)
constexpr size_t ARRAY_SIZE(const T(&arg)[N]) noexcept
int BLI_str_utf8_size_safe(const char *p) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
static const char * text_format_pov_ini_literals_bool_data[]
static const Span< const char * > text_format_pov_ini_literals_reserved(text_format_pov_ini_literals_reserved_data, ARRAY_SIZE(text_format_pov_ini_literals_reserved_data))
void ED_text_format_register(TextFormatType *tft)
static const Span< const char * > text_format_pov_ini_literals_bool(text_format_pov_ini_literals_bool_data, ARRAY_SIZE(text_format_pov_ini_literals_bool_data))
static void txtfmt_pov_ini_format_line(SpaceText *st, TextLine *line, const bool do_next)
void text_format_fill_ascii(const char **str_p, char **fmt_p, const char type, const int len)
static const char * text_format_pov_ini_literals_reserved_data[]
static const char * text_format_pov_ini_literals_keyword_data[]
void text_format_fill(const char **str_p, char **fmt_p, const char type, const int len)
const char * comment_line
char(*) format_identifier(const char *string)
void(*) format_line(SpaceText *st, TextLine *line, bool do_next)