Blender
V3.3
|
#include <DNA_text_types.h>
Public Attributes | |
ID | id |
char * | filepath |
void * | compiled |
int | flags |
char | _pad0 [4] |
ListBase | lines |
TextLine * | curl |
TextLine * | sell |
int | curc |
int | selc |
double | mtime |
Definition at line 29 of file DNA_text_types.h.
char Text::_pad0[4] |
Definition at line 46 of file DNA_text_types.h.
void* Text::compiled |
Python code object for this text (cached result of #Py_CompileStringObject).
Definition at line 43 of file DNA_text_types.h.
Referenced by BPY_text_free_code(), python_script_exec(), text_blend_read_data(), text_blend_write(), text_copy_data(), text_reload_exec(), and txt_make_dirty().
int Text::curc |
Definition at line 50 of file DNA_text_types.h.
Referenced by blo_do_versions_260(), confirm_suggestion(), cursor_skip(), get_suggest_prefix(), text_autocomplete_build(), text_copy_data(), text_cursor_set_to_pos(), text_cursor_set_to_pos_wrapped(), text_delete_exec(), text_from_buf(), text_indent_or_autocomplete_exec(), text_init_data(), text_reload_exec(), text_replace_all(), text_run_script(), text_state_encode(), txt_add_char_intern(), txt_backspace_char(), txt_clean_text(), txt_convert_tab_to_spaces(), txt_curs_cur(), txt_curs_swap(), txt_delete_char(), txt_delete_sel(), txt_from_buf_for_undo(), txt_has_sel(), txt_order_cursors(), txt_pop_first(), txt_pop_last(), txt_pop_sel(), txt_replace_char(), txt_sel_all(), txt_sel_clear(), txt_sel_line(), txt_sel_set(), txt_sel_to_buf(), txt_select_prefix(), txt_select_unprefix(), txt_setcurr_tab_spaces(), txt_split_curline(), txt_wrap_move_bol(), txt_wrap_move_down(), txt_wrap_move_eol(), and txt_wrap_move_up().
TextLine* Text::curl |
Definition at line 49 of file DNA_text_types.h.
Referenced by BKE_text_free_lines(), BKE_text_load_ex(), blo_do_versions_260(), confirm_suggestion(), cursor_skip(), get_suggest_prefix(), text_autocomplete_build(), text_blend_read_data(), text_copy_data(), text_cursor_set_to_pos(), text_cursor_set_to_pos_wrapped(), text_delete_exec(), text_find_and_replace(), text_from_buf(), text_indent_or_autocomplete_exec(), text_init_data(), text_insert_exec(), text_line_break_exec(), text_reload_exec(), text_replace_all(), text_run_script(), text_state_encode(), txt_add_char_intern(), txt_backspace_char(), txt_clean_text(), txt_comment(), txt_curs_cur(), txt_curs_swap(), txt_delete_char(), txt_delete_line(), txt_delete_sel(), txt_duplicate_line(), txt_find_string(), txt_from_buf_for_undo(), txt_has_sel(), txt_indent(), txt_insert_buf(), txt_move_lines(), txt_order_cursors(), txt_pop_first(), txt_pop_last(), txt_pop_sel(), txt_replace_char(), txt_sel_all(), txt_sel_clear(), txt_sel_line(), txt_sel_set(), txt_sel_to_buf(), txt_select_prefix(), txt_select_unprefix(), txt_setcurr_tab_spaces(), txt_split_curline(), txt_uncomment(), txt_unindent(), txt_wrap_move_bol(), txt_wrap_move_down(), txt_wrap_move_eol(), and txt_wrap_move_up().
char* Text::filepath |
Optional file path, when NULL text is considered internal. Otherwise this path will be used when saving/reloading.
When set this is where the file will or has been saved.
Definition at line 38 of file DNA_text_types.h.
Referenced by arg_handle_load_file(), BKE_text_file_modified_check(), BKE_text_file_modified_ignore(), BKE_text_load_ex(), BKE_text_reload(), blender::bke::tests::TEST_F(), text_blend_read_data(), text_blend_write(), text_copy_data(), text_foreach_path(), text_free_data(), text_init_data(), text_make_internal_exec(), text_open_invoke(), text_reload_exec(), text_resolve_conflict_poll(), text_save_as_exec(), text_save_as_invoke(), text_save_invoke(), tree_element_get_icon_from_id(), and txt_write_file().
int Text::flags |
Definition at line 45 of file DNA_text_types.h.
Referenced by BKE_text_load_ex(), blo_do_versions_260(), BPY_modules_load_user(), text_blend_read_data(), text_blend_write(), text_copy_data(), text_delete_exec(), text_init_data(), text_line_break_exec(), text_make_internal_exec(), text_paste_exec(), text_reload_exec(), text_resolve_conflict_invoke(), text_resolve_conflict_poll(), text_save_as_exec(), text_save_as_invoke(), text_save_invoke(), tree_element_get_icon_from_id(), txt_add_char(), txt_indent(), txt_make_dirty(), txt_move_left(), txt_move_right(), txt_setcurr_tab_spaces(), txt_unindent(), and txt_write_file().
ID Text::id |
Definition at line 30 of file DNA_text_types.h.
Referenced by BKE_text_add(), BKE_text_file_modified_check(), BKE_text_file_modified_ignore(), BKE_text_load_ex(), BKE_text_reload(), blo_do_versions_260(), BPY_modules_load_user(), bpy_text_filepath_get(), ED_text_format_get(), ED_text_is_syntax_highlight_supported(), blender::ed::space_node::node_shader_script_update_text_recursive(), text_blend_write(), text_edit_poll(), text_find_and_replace(), text_new_exec(), text_open_exec(), text_region_edit_poll(), text_save_as_invoke(), text_space_edit_poll(), text_undosys_step_encode_init(), and text_unlink_exec().
ListBase Text::lines |
Definition at line 48 of file DNA_text_types.h.
Referenced by BKE_text_free_lines(), BKE_text_load_ex(), blo_do_versions_260(), ED_text_to_object(), blender::ed::space_node::frame_node_draw_label(), text_autocomplete_build(), text_blend_read_data(), text_blend_write(), text_convert_whitespace_exec(), text_copy_data(), text_cursor_set_to_pos(), text_from_buf(), text_init_data(), text_jump_exec(), text_reload_exec(), text_replace_all(), text_state_encode(), text_update_edited(), txt_clean_text(), txt_delete_line(), txt_duplicate_line(), txt_find_string(), txt_from_buf_for_undo(), txt_insert_buf(), txt_move_bof(), txt_move_eof(), txt_move_lines(), txt_move_to(), txt_sel_all(), txt_sel_set(), txt_split_curline(), txt_to_buf(), txt_to_buf_for_undo(), and txt_write_file().
double Text::mtime |
Definition at line 52 of file DNA_text_types.h.
Referenced by BKE_text_file_modified_check(), BKE_text_file_modified_ignore(), BKE_text_load_ex(), BKE_text_reload(), and txt_write_file().
int Text::selc |
Definition at line 50 of file DNA_text_types.h.
Referenced by cursor_skip(), text_copy_data(), text_cursor_set_to_pos(), text_cursor_set_to_pos_wrapped(), text_delete_exec(), text_from_buf(), text_init_data(), text_state_encode(), txt_clean_text(), txt_curs_sel(), txt_curs_swap(), txt_cursor_is_line_end(), txt_cursor_is_line_start(), txt_delete_sel(), txt_find_string(), txt_from_buf_for_undo(), txt_has_sel(), txt_order_cursors(), txt_pop_first(), txt_pop_last(), txt_pop_sel(), txt_sel_all(), txt_sel_clear(), txt_sel_line(), txt_sel_set(), txt_sel_to_buf(), txt_select_prefix(), txt_select_unprefix(), txt_wrap_move_bol(), txt_wrap_move_down(), txt_wrap_move_eol(), and txt_wrap_move_up().
TextLine * Text::sell |
Definition at line 49 of file DNA_text_types.h.
Referenced by BKE_text_free_lines(), BKE_text_load_ex(), cursor_skip(), text_blend_read_data(), text_copy_data(), text_cursor_set_to_pos(), text_cursor_set_to_pos_wrapped(), text_delete_exec(), text_from_buf(), text_init_data(), text_state_encode(), txt_clean_text(), txt_comment(), txt_curs_sel(), txt_curs_swap(), txt_cursor_is_line_end(), txt_delete_sel(), txt_duplicate_line(), txt_find_string(), txt_from_buf_for_undo(), txt_has_sel(), txt_indent(), txt_move_lines(), txt_order_cursors(), txt_pop_first(), txt_pop_last(), txt_pop_sel(), txt_sel_all(), txt_sel_clear(), txt_sel_line(), txt_sel_set(), txt_sel_to_buf(), txt_select_prefix(), txt_select_unprefix(), txt_uncomment(), txt_unindent(), txt_wrap_move_bol(), txt_wrap_move_down(), txt_wrap_move_eol(), and txt_wrap_move_up().