|
Blender V4.3
|
#include "DNA_vec_types.h"Go to the source code of this file.
Classes | |
| struct | blender::ed::text::SpaceText_Runtime |
Namespaces | |
| namespace | blender |
| namespace | blender::ed |
| namespace | blender::ed::text |
Macros | |
| #define | TXT_NUMCOL_PAD 1.0f |
| #define | TXT_NUMCOL_WIDTH(st) ((st)->runtime->cwidth_px * ((st)->runtime->line_number_display_digits + (2 * TXT_NUMCOL_PAD))) |
| #define | TXT_BODY_LPAD 1.0f |
| #define | TXT_BODY_LEFT(st) ((st)->showlinenrs ? TXT_NUMCOL_WIDTH(st) : 0) + (TXT_BODY_LPAD * (st)->runtime->cwidth_px) |
| #define | TXT_SCROLL_WIDTH U.widget_unit |
| #define | TXT_SCROLL_SPACE ((int)(0.1f * U.widget_unit)) |
| #define | TXT_LINE_VPAD 0.3f |
| #define | TXT_LINE_SPACING(st) ((int)(TXT_LINE_VPAD * st->runtime->lheight_px)) |
| #define | TXT_LINE_HEIGHT(st) ((int)((1.0f + TXT_LINE_VPAD) * st->runtime->lheight_px)) |
| #define | SUGG_LIST_SIZE 7 |
| #define | SUGG_LIST_WIDTH 20 |
| #define | TOOL_SUGG_LIST 0x01 |
Enumerations | |
| enum | { LINE_BEGIN , LINE_END , FILE_TOP , FILE_BOTTOM , PREV_CHAR , NEXT_CHAR , PREV_WORD , NEXT_WORD , PREV_LINE , NEXT_LINE , PREV_PAGE , NEXT_PAGE } |
| enum | { DEL_NEXT_CHAR , DEL_PREV_CHAR , DEL_NEXT_WORD , DEL_PREV_WORD } |
Variables | |
| const char * | text_context_dir [] |
| #define SUGG_LIST_SIZE 7 |
Definition at line 59 of file text_intern.hh.
Referenced by space_text_do_suggest_select(), text_autocomplete_modal(), and text_pop_suggest_list().
| #define SUGG_LIST_WIDTH 20 |
Definition at line 60 of file text_intern.hh.
Referenced by space_text_do_suggest_select().
| #define TOOL_SUGG_LIST 0x01 |
Definition at line 62 of file text_intern.hh.
Referenced by text_autocomplete_modal().
| #define TXT_BODY_LEFT | ( | st | ) | ((st)->showlinenrs ? TXT_NUMCOL_WIDTH(st) : 0) + (TXT_BODY_LPAD * (st)->runtime->cwidth_px) |
Definition at line 46 of file text_intern.hh.
Referenced by space_text_do_suggest_select(), and text_cursor_set_to_pos().
| #define TXT_BODY_LPAD 1.0f |
Definition at line 44 of file text_intern.hh.
Referenced by text_line_number_invoke().
| #define TXT_LINE_HEIGHT | ( | st | ) | ((int)((1.0f + TXT_LINE_VPAD) * st->runtime->lheight_px)) |
Definition at line 57 of file text_intern.hh.
Referenced by space_text_do_suggest_select(), text_cursor_set_to_pos(), and text_scroll_state_init().
| #define TXT_LINE_SPACING | ( | st | ) | ((int)(TXT_LINE_VPAD * st->runtime->lheight_px)) |
Definition at line 55 of file text_intern.hh.
| #define TXT_LINE_VPAD 0.3f |
Definition at line 53 of file text_intern.hh.
| #define TXT_NUMCOL_PAD 1.0f |
Definition at line 38 of file text_intern.hh.
| #define TXT_NUMCOL_WIDTH | ( | st | ) | ((st)->runtime->cwidth_px * ((st)->runtime->line_number_display_digits + (2 * TXT_NUMCOL_PAD))) |
Definition at line 40 of file text_intern.hh.
Referenced by text_line_number_invoke().
Definition at line 50 of file text_intern.hh.
Referenced by text_scroll_bar_invoke().
| #define TXT_SCROLL_WIDTH U.widget_unit |
Definition at line 49 of file text_intern.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| LINE_BEGIN | |
| LINE_END | |
| FILE_TOP | |
| FILE_BOTTOM | |
| PREV_CHAR | |
| NEXT_CHAR | |
| PREV_WORD | |
| NEXT_WORD | |
| PREV_LINE | |
| NEXT_LINE | |
| PREV_PAGE | |
| NEXT_PAGE | |
Definition at line 100 of file text_intern.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| DEL_NEXT_CHAR | |
| DEL_PREV_CHAR | |
| DEL_NEXT_WORD | |
| DEL_PREV_WORD | |
Definition at line 114 of file text_intern.hh.
Referenced by text_main_region_draw().
Definition at line 38 of file text_autocomplete.cc.
References Text::curc, Text::curl, l, SpaceText::left, SuggItem::next, TextLine::prev, SpaceText::runtime, space_text_update_character_width(), SUGG_LIST_SIZE, SUGG_LIST_WIDTH, SpaceText::text, texttool_suggest_first(), texttool_suggest_last(), texttool_suggest_select(), texttool_suggest_top(), texttool_text_is_active(), SpaceText::top, top, TXT_BODY_LEFT, TXT_LINE_HEIGHT, w(), x, and y.
Referenced by text_autocomplete_modal().
| void space_text_drawcache_tag_update | ( | SpaceText * | st, |
| bool | full ) |
Referenced by text_comment_exec(), text_convert_whitespace_exec(), text_cut_exec(), text_delete_exec(), text_find_and_replace(), text_indent_exec(), text_insert_exec(), text_line_break_exec(), text_listener(), text_new_exec(), text_open_exec(), text_paste_exec(), text_reload_exec(), text_replace_all(), text_undosys_step_decode(), text_unindent_exec(), and text_unlink_exec().
| void space_text_free_caches | ( | SpaceText * | st | ) |
Referenced by text_free().
Referenced by cursor_skip_find_line(), txt_wrap_move_down(), and txt_wrap_move_up().
| int space_text_get_span_wrap | ( | const SpaceText * | st, |
| const ARegion * | region, | ||
| const TextLine * | from, | ||
| const TextLine * | to ) |
Referenced by space_text_screen_clamp(), and text_scroll_state_init().
Referenced by cursor_skip_find_line(), space_text_get_line_pos_wrapped(), txt_wrap_move_down(), and txt_wrap_move_up().
Takes an area instead of a region, use for listeners.
| void space_text_update_character_width | ( | SpaceText * | st | ) |
| void space_text_update_cursor_moved | ( | bContext * | C | ) |
Referenced by move_lines_exec(), text_comment_exec(), text_convert_whitespace_exec(), text_cursor_set_exec(), text_cursor_set_exit(), text_cut_exec(), text_delete_exec(), text_find_and_replace(), text_indent_exec(), text_insert_exec(), text_jump_exec(), text_line_break_exec(), text_line_number_invoke(), text_make_internal_exec(), text_move_cursor(), text_paste_exec(), text_reload_exec(), text_run_script(), text_save_as_exec(), text_save_exec(), text_select_all_exec(), text_select_line_exec(), text_select_word_exec(), text_undosys_step_decode(), text_unindent_exec(), and text_unlink_exec().
| void space_text_wrap_offset | ( | const SpaceText * | st, |
| const ARegion * | region, | ||
| TextLine * | linein, | ||
| int | cursin, | ||
| int * | offl, | ||
| int * | offc ) |
Sets (offl, offc) for transforming (line, curs) to its wrapped position.
| void space_text_wrap_offset_in_line | ( | const SpaceText * | st, |
| const ARegion * | region, | ||
| TextLine * | linein, | ||
| int | cursin, | ||
| int * | offl, | ||
| int * | offc ) |
cursin - mem, offc - view.
Referenced by cursor_skip_find_line(), txt_wrap_move_down(), and txt_wrap_move_up().
| void TEXT_OT_autocomplete | ( | wmOperatorType * | ot | ) |
Definition at line 559 of file text_autocomplete.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, ot, wmOperatorType::poll, text_autocomplete_cancel(), text_autocomplete_invoke(), text_autocomplete_modal(), and text_space_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_comment_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1409 of file text_ops.cc.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), wmOperatorType::srna, text_comment_exec(), and text_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_convert_whitespace | ( | wmOperatorType * | ot | ) |
Definition at line 1584 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), wmOperatorType::srna, text_convert_whitespace_exec(), text_edit_poll(), TO_SPACES, and whitespace_type_items.
Referenced by text_operatortypes().
| void TEXT_OT_copy | ( | wmOperatorType * | ot | ) |
Definition at line 1131 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, text_copy_exec(), and text_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_cursor_set | ( | wmOperatorType * | ot | ) |
Definition at line 3494 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_int(), wmOperatorType::srna, text_cursor_set_exec(), text_cursor_set_invoke(), and text_region_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_cut | ( | wmOperatorType * | ot | ) |
Definition at line 1172 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, text_cut_exec(), and text_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 2606 of file text_ops.cc.
References DEL_NEXT_CHAR, delete_type_items, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), wmOperatorType::srna, text_delete_exec(), and text_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_duplicate_line | ( | wmOperatorType * | ot | ) |
Definition at line 1085 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, text_duplicate_line_exec(), and text_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_find | ( | wmOperatorType * | ot | ) |
Definition at line 3857 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, text_find_exec(), and text_space_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_find_set_selected | ( | wmOperatorType * | ot | ) |
Definition at line 3969 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, text_find_set_selected_exec(), and text_space_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_indent | ( | wmOperatorType * | ot | ) |
Definition at line 1253 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, text_edit_poll(), and text_indent_exec().
Referenced by text_operatortypes().
| void TEXT_OT_indent_or_autocomplete | ( | wmOperatorType * | ot | ) |
Definition at line 1207 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, text_edit_poll(), and text_indent_or_autocomplete_exec().
Referenced by text_operatortypes().
| void TEXT_OT_insert | ( | wmOperatorType * | ot | ) |
Definition at line 3746 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_property_flag(), RNA_def_string(), wmOperatorType::srna, text_edit_poll(), text_insert_exec(), and text_insert_invoke().
Referenced by text_operatortypes().
| void TEXT_OT_jump | ( | wmOperatorType * | ot | ) |
Definition at line 2484 of file text_ops.cc.
References BLT_I18NCONTEXT_ID_TEXT, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_int(), RNA_def_property_translation_context(), wmOperatorType::srna, text_edit_poll(), text_jump_exec(), and text_jump_invoke().
Referenced by text_operatortypes().
| void TEXT_OT_jump_to_file_at_point | ( | wmOperatorType * | ot | ) |
Definition at line 4148 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, FILE_MAX, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), RNA_def_string(), wmOperatorType::srna, and text_jump_to_file_at_point_exec().
Referenced by text_operatortypes().
| void TEXT_OT_line_break | ( | wmOperatorType * | ot | ) |
Definition at line 1351 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, text_edit_poll(), and text_line_break_exec().
Referenced by text_operatortypes().
| void TEXT_OT_line_number | ( | wmOperatorType * | ot | ) |
Definition at line 3562 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, text_line_number_invoke(), and text_region_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_make_internal | ( | wmOperatorType * | ot | ) |
Definition at line 652 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, text_edit_poll(), and text_make_internal_exec().
Referenced by text_operatortypes().
| void TEXT_OT_move | ( | wmOperatorType * | ot | ) |
Definition at line 2401 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, LINE_BEGIN, move_type_items, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_enum(), wmOperatorType::srna, text_edit_poll(), and text_move_exec().
Referenced by text_operatortypes().
| void TEXT_OT_move_lines | ( | wmOperatorType * | ot | ) |
Definition at line 1730 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, move_lines_exec(), wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), wmOperatorType::srna, text_edit_poll(), TXT_MOVE_LINE_DOWN, and TXT_MOVE_LINE_UP.
Referenced by text_operatortypes().
| void TEXT_OT_move_select | ( | wmOperatorType * | ot | ) |
Definition at line 2429 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, LINE_BEGIN, move_type_items, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_enum(), wmOperatorType::srna, text_move_select_exec(), and text_space_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_new | ( | wmOperatorType * | ot | ) |
Definition at line 364 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, text_new_exec(), and text_new_poll().
Referenced by text_operatortypes().
| void TEXT_OT_open | ( | wmOperatorType * | ot | ) |
Definition at line 464 of file text_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_PYSCRIPT, FILE_TYPE_TEXT, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, text_new_poll(), text_open_cancel(), text_open_exec(), text_open_invoke(), WM_FILESEL_FILEPATH, and WM_operator_properties_filesel().
Referenced by text_operatortypes().
| void TEXT_OT_overwrite_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 2648 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, text_space_edit_poll(), and text_toggle_overwrite_exec().
Referenced by text_operatortypes().
| void TEXT_OT_paste | ( | wmOperatorType * | ot | ) |
Definition at line 1037 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, text_edit_poll(), and text_paste_exec().
Referenced by text_operatortypes().
| void TEXT_OT_refresh_pyconstraints | ( | wmOperatorType * | ot | ) |
Definition at line 975 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, text_edit_poll(), and text_refresh_pyconstraints_exec().
Referenced by text_operatortypes().
| void TEXT_OT_reload | ( | wmOperatorType * | ot | ) |
Definition at line 554 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, text_edit_poll(), text_reload_exec(), and text_reload_invoke().
Referenced by text_operatortypes().
| void TEXT_OT_replace | ( | wmOperatorType * | ot | ) |
Definition at line 3926 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, text_replace_exec(), and text_space_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_replace_set_selected | ( | wmOperatorType * | ot | ) |
Definition at line 4000 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, text_replace_set_selected_exec(), and text_space_edit_poll().
Referenced by text_operatortypes().
| void TEXT_OT_resolve_conflict | ( | wmOperatorType * | ot | ) |
Definition at line 4284 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, resolution_items, RESOLVE_IGNORE, RNA_def_enum(), wmOperatorType::srna, text_resolve_conflict_exec(), text_resolve_conflict_invoke(), and text_resolve_conflict_poll().
Referenced by text_operatortypes().
| void TEXT_OT_run_script | ( | wmOperatorType * | ot | ) |
Definition at line 907 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, text_data_poll(), and text_run_script_exec().
Referenced by text_operatortypes().
| void TEXT_OT_save | ( | wmOperatorType * | ot | ) |
Definition at line 756 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, text_edit_poll(), text_save_exec(), and text_save_invoke().
Referenced by text_operatortypes().
| void TEXT_OT_save_as | ( | wmOperatorType * | ot | ) |
Definition at line 827 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_SAVE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_PYSCRIPT, FILE_TYPE_TEXT, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, text_edit_poll(), text_save_as_exec(), text_save_as_invoke(), WM_FILESEL_FILEPATH, and WM_operator_properties_filesel().
Referenced by text_operatortypes().
| void TEXT_OT_scroll | ( | wmOperatorType * | ot | ) |
Definition at line 2937 of file text_ops.cc.
References BLT_I18NCONTEXT_ID_TEXT, wmOperatorType::cancel, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_XY, OPTYPE_INTERNAL, ot, wmOperatorType::poll, RNA_def_int(), RNA_def_property_translation_context(), wmOperatorType::srna, text_scroll_cancel(), text_scroll_exec(), text_scroll_invoke(), text_scroll_modal(), and text_scroll_poll().
Referenced by text_operatortypes().
| void TEXT_OT_scroll_bar | ( | wmOperatorType * | ot | ) |
Definition at line 3047 of file text_ops.cc.
References BLT_I18NCONTEXT_ID_TEXT, wmOperatorType::cancel, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_INTERNAL, ot, wmOperatorType::poll, RNA_def_int(), RNA_def_property_translation_context(), wmOperatorType::srna, text_region_scroll_poll(), text_scroll_bar_invoke(), text_scroll_cancel(), and text_scroll_modal().
Referenced by text_operatortypes().
| void TEXT_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 1627 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, text_edit_poll(), and text_select_all_exec().
Referenced by text_operatortypes().
| void TEXT_OT_select_line | ( | wmOperatorType * | ot | ) |
Definition at line 1659 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, text_edit_poll(), and text_select_line_exec().
Referenced by text_operatortypes().
| void TEXT_OT_select_word | ( | wmOperatorType * | ot | ) |
Definition at line 1692 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, text_edit_poll(), and text_select_word_exec().
Referenced by text_operatortypes().
| void TEXT_OT_selection_set | ( | wmOperatorType * | ot | ) |
Definition at line 3445 of file text_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, wmOperatorType::poll, text_region_edit_poll(), text_selection_set_cancel(), text_selection_set_invoke(), and text_selection_set_modal().
Referenced by text_operatortypes().
| void TEXT_OT_start_find | ( | wmOperatorType * | ot | ) |
Definition at line 110 of file text_header.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, text_properties_poll(), and text_text_search_exec().
Referenced by text_operatortypes().
| void TEXT_OT_to_3d_object | ( | wmOperatorType * | ot | ) |
Definition at line 4321 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, text_data_poll(), and text_to_3d_object_exec().
Referenced by text_operatortypes().
| void TEXT_OT_unindent | ( | wmOperatorType * | ot | ) |
Definition at line 1294 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, text_edit_poll(), and text_unindent_exec().
Referenced by text_operatortypes().
| void TEXT_OT_unlink | ( | wmOperatorType * | ot | ) |
Definition at line 616 of file text_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, text_unlink_exec(), text_unlink_invoke(), and text_unlink_poll().
Referenced by text_operatortypes().
| void text_pop_suggest_list | ( | ) |
Definition at line 102 of file text_autocomplete.cc.
References SuggItem::next, SUGG_LIST_SIZE, texttool_suggest_first(), texttool_suggest_selected(), texttool_suggest_top(), and top.
Referenced by text_autocomplete_modal().
| bool text_space_edit_poll | ( | bContext * | C | ) |
Definition at line 264 of file text_ops.cc.
References BKE_id_is_editable(), CTX_data_edit_text(), CTX_data_main(), and CTX_wm_space_text().
Referenced by TEXT_OT_autocomplete(), TEXT_OT_find(), TEXT_OT_find_set_selected(), TEXT_OT_move_select(), TEXT_OT_overwrite_toggle(), TEXT_OT_replace(), and TEXT_OT_replace_set_selected().
| void text_update_edited | ( | Text * | text | ) |
Definition at line 319 of file text_ops.cc.
References LISTBASE_FOREACH, and text_update_line_edited().
Referenced by text_comment_exec(), text_convert_whitespace_exec(), text_indent_exec(), text_paste_exec(), text_reload_exec(), and text_unindent_exec().
| void text_update_line_edited | ( | TextLine * | line | ) |
Definition at line 309 of file text_ops.cc.
References MEM_SAFE_FREE.
Referenced by text_autocomplete_invoke(), text_autocomplete_modal(), text_delete_exec(), text_insert_exec(), text_insert_invoke(), text_line_break_exec(), and text_update_edited().
| const char* text_context_dir[] |
Definition at line 180 of file text_intern.hh.