|
Blender V5.0
|
#include <DNA_text_types.h>
Public Attributes | |
| ID | id |
| void * | _pad1 |
| char * | filepath |
| void * | compiled |
| int | flags |
| char | _pad0 [4] |
| ListBase | lines |
| TextLine * | curl |
| TextLine * | sell |
| int | curc |
| int | selc |
| double | mtime |
Definition at line 26 of file DNA_text_types.h.
| char Text::_pad0[4] |
Definition at line 50 of file DNA_text_types.h.
| void* Text::_pad1 |
Definition at line 34 of file DNA_text_types.h.
| void* Text::compiled |
Python code object for this text (cached result of #Py_CompileStringObject).
Definition at line 47 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 54 of file DNA_text_types.h.
Referenced by confirm_suggestion(), draw_brackets(), draw_suggestion_list(), draw_text_decoration(), get_suggest_prefix(), space_text_cursor_set_to_pos_wrapped(), space_text_cursor_skip(), space_text_do_suggest_select(), text_autocomplete_build(), text_autocomplete_modal(), text_convert_whitespace_exec(), text_copy_data(), text_cursor_set_to_pos(), text_delete_exec(), text_from_buf(), text_indent_or_autocomplete_exec(), text_init_data(), text_insert_invoke(), text_reload_exec(), text_replace_all(), text_run_script(), text_select_word_exec(), text_state_encode(), text_text_search_exec(), 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 53 of file DNA_text_types.h.
Referenced by BKE_text_free_lines(), BKE_text_load_ex(), calc_text_rcts(), confirm_suggestion(), draw_brackets(), draw_suggestion_list(), draw_text_decoration(), draw_text_main(), ED_space_text_scroll_to_cursor(), get_suggest_prefix(), space_text_cursor_set_to_pos_wrapped(), space_text_cursor_skip(), space_text_do_suggest_select(), space_text_drawcache_tag_update(), space_text_scroll_to_cursor_with_area(), text_autocomplete_build(), text_autocomplete_invoke(), text_autocomplete_modal(), text_blend_read_data(), text_convert_whitespace_exec(), text_copy_data(), text_cursor_set_to_pos(), text_delete_exec(), text_find_and_replace(), text_from_buf(), text_indent_or_autocomplete_exec(), text_init_data(), text_insert_exec(), text_insert_invoke(), text_line_break_exec(), text_reload_exec(), text_replace_all(), text_run_script(), text_select_word_exec(), text_state_encode(), text_text_search_exec(), 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 42 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(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), 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(), and txt_write_file().
| int Text::flags |
Definition at line 49 of file DNA_text_types.h.
Referenced by BKE_text_load_ex(), 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(), 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 32 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(), BPY_modules_load_user(), bpy_text_filepath_get(), ED_text_format_get(), ED_text_is_syntax_highlight_supported(), space_text_update_drawcache(), text_blend_write(), text_context(), text_edit_poll(), text_find_and_replace(), text_jump_to_file_at_point_internal(), text_new_exec(), text_open_exec(), text_open_invoke(), text_region_edit_poll(), text_save_as_invoke(), text_space_edit_poll(), text_undosys_step_encode_init(), text_unlink_exec(), text_update_shader_text_recursive(), and txt_write_file().
| ListBase Text::lines |
Definition at line 52 of file DNA_text_types.h.
Referenced by BKE_text_free_lines(), BKE_text_load_ex(), calc_text_rcts(), draw_brackets(), draw_suggestion_list(), draw_text_decoration(), draw_text_main(), ED_space_text_region_location_from_cursor(), ED_space_text_scroll_to_cursor(), ED_text_to_object(), space_text_cursor_set_to_pos_wrapped(), space_text_drawcache_init(), space_text_drawcache_tag_update(), space_text_get_line_pos_wrapped(), space_text_update_drawcache(), 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_selection_set_invoke(), 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 56 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 54 of file DNA_text_types.h.
Referenced by draw_text_decoration(), ED_space_text_scroll_to_cursor(), space_text_cursor_set_to_pos_wrapped(), space_text_cursor_skip(), text_convert_whitespace_exec(), text_copy_data(), text_cursor_set_to_pos(), text_delete_exec(), text_from_buf(), text_init_data(), text_insert_invoke(), text_run_script(), text_select_word_exec(), text_selection_set_invoke(), text_state_encode(), text_text_search_exec(), 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 53 of file DNA_text_types.h.
Referenced by BKE_text_free_lines(), BKE_text_load_ex(), calc_text_rcts(), draw_text_decoration(), draw_text_main(), ED_space_text_scroll_to_cursor(), space_text_cursor_set_to_pos_wrapped(), space_text_cursor_skip(), space_text_drawcache_tag_update(), text_blend_read_data(), text_convert_whitespace_exec(), text_copy_data(), text_cursor_set_to_pos(), text_delete_exec(), text_from_buf(), text_init_data(), text_insert_invoke(), text_selection_set_invoke(), text_state_encode(), text_text_search_exec(), 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().