Blender
V3.3
|
Go to the source code of this file.
Enumerations | |
enum | { LINE_BEGIN , LINE_END , PREV_CHAR , NEXT_CHAR , PREV_WORD , NEXT_WORD } |
enum | { DEL_NEXT_CHAR , DEL_PREV_CHAR , DEL_NEXT_WORD , DEL_PREV_WORD , DEL_SELECTION , DEL_NEXT_SEL , DEL_PREV_SEL } |
anonymous enum |
Enumerator | |
---|---|
LINE_BEGIN | |
LINE_END | |
PREV_CHAR | |
NEXT_CHAR | |
PREV_WORD | |
NEXT_WORD |
Definition at line 55 of file console_intern.h.
anonymous enum |
Enumerator | |
---|---|
DEL_NEXT_CHAR | |
DEL_PREV_CHAR | |
DEL_NEXT_WORD | |
DEL_PREV_WORD | |
DEL_SELECTION | |
DEL_NEXT_SEL | |
DEL_PREV_SEL |
Definition at line 56 of file console_intern.h.
int console_char_pick | ( | struct SpaceConsole * | sc, |
const struct ARegion * | region, | ||
const int | mval[2] | ||
) |
ConsoleLine* console_history_add_str | ( | struct SpaceConsole * | sc, |
char * | str, | ||
bool | own | ||
) |
Definition at line 190 of file console_ops.c.
References console_lb_add_str__internal(), SpaceConsole::history, and str.
Referenced by console_history_append_exec(), and report_replay_exec().
void console_history_free | ( | SpaceConsole * | sc, |
ConsoleLine * | cl | ||
) |
Definition at line 58 of file console_ops.c.
References BLI_remlink(), SpaceConsole::history, ConsoleLine::line, and MEM_freeN.
Referenced by console_clear_exec(), console_free(), console_history_append_exec(), and console_history_cycle_exec().
ConsoleLine* console_history_verify | ( | const struct bContext * | C | ) |
Referenced by console_main_region_draw().
void CONSOLE_OT_clear | ( | struct wmOperatorType * | ot | ) |
Definition at line 760 of file console_ops.c.
References console_clear_exec(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by console_operatortypes().
void CONSOLE_OT_clear_line | ( | struct wmOperatorType * | ot | ) |
Definition at line 718 of file console_ops.c.
References console_clear_line_exec(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by console_operatortypes().
void CONSOLE_OT_copy | ( | struct wmOperatorType * | ot | ) |
Definition at line 1027 of file console_ops.c.
References console_copy_exec(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by console_operatortypes().
void CONSOLE_OT_delete | ( | struct wmOperatorType * | ot | ) |
Definition at line 675 of file console_ops.c.
References console_delete_exec(), console_delete_type_items, DEL_NEXT_CHAR, wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_enum(), and wmOperatorType::srna.
Referenced by console_operatortypes().
void CONSOLE_OT_history_append | ( | struct wmOperatorType * | ot | ) |
Definition at line 885 of file console_ops.c.
References console_history_append_exec(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, NULL, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_int(), RNA_def_string(), and wmOperatorType::srna.
Referenced by console_operatortypes().
void CONSOLE_OT_history_cycle | ( | struct wmOperatorType * | ot | ) |
Definition at line 829 of file console_ops.c.
References console_history_cycle_exec(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by console_operatortypes().
void CONSOLE_OT_indent | ( | struct wmOperatorType * | ot | ) |
Definition at line 526 of file console_ops.c.
References console_indent_exec(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by console_operatortypes().
void CONSOLE_OT_indent_or_autocomplete | ( | struct wmOperatorType * | ot | ) |
Definition at line 472 of file console_ops.c.
References console_indent_or_autocomplete_exec(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by console_operatortypes().
void CONSOLE_OT_insert | ( | struct wmOperatorType * | ot | ) |
Definition at line 424 of file console_ops.c.
References console_insert_exec(), console_insert_invoke(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by console_operatortypes().
void CONSOLE_OT_move | ( | struct wmOperatorType * | ot | ) |
Definition at line 351 of file console_ops.c.
References console_move_exec(), console_move_type_items, wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, LINE_BEGIN, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_enum(), and wmOperatorType::srna.
Referenced by console_operatortypes().
void CONSOLE_OT_paste | ( | struct wmOperatorType * | ot | ) |
Definition at line 1082 of file console_ops.c.
References console_paste_exec(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by console_operatortypes().
void CONSOLE_OT_scrollback_append | ( | struct wmOperatorType * | ot | ) |
Definition at line 936 of file console_ops.c.
References CONSOLE_LINE_ERROR, CONSOLE_LINE_INFO, CONSOLE_LINE_INPUT, CONSOLE_LINE_OUTPUT, console_scrollback_append_exec(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, NULL, ot, wmOperatorType::poll, RNA_def_enum(), RNA_def_string(), and wmOperatorType::srna.
Referenced by console_operatortypes().
void CONSOLE_OT_select_set | ( | struct wmOperatorType * | ot | ) |
Definition at line 1210 of file console_ops.c.
References wmOperatorType::cancel, console_modal_select(), console_modal_select_cancel(), console_modal_select_invoke(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by console_operatortypes().
void CONSOLE_OT_select_word | ( | struct wmOperatorType * | ot | ) |
Definition at line 1260 of file console_ops.c.
References console_selectword_invoke(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by console_operatortypes().
void CONSOLE_OT_unindent | ( | struct wmOperatorType * | ot | ) |
Definition at line 580 of file console_ops.c.
References console_unindent_exec(), wmOperatorType::description, ED_operator_console_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by console_operatortypes().
ConsoleLine* console_scrollback_add_str | ( | struct SpaceConsole * | sc, |
char * | str, | ||
bool | own | ||
) |
Definition at line 194 of file console_ops.c.
References console_lb_add_str__internal(), console_select_offset(), ConsoleLine::len, SpaceConsole::scrollback, and str.
Referenced by console_scrollback_append_exec().
void console_scrollback_free | ( | SpaceConsole * | sc, |
ConsoleLine * | cl | ||
) |
Definition at line 64 of file console_ops.c.
References BLI_remlink(), ConsoleLine::line, MEM_freeN, and SpaceConsole::scrollback.
Referenced by console_clear_exec(), console_free(), and console_scrollback_limit().
void console_scrollback_prompt_begin | ( | struct SpaceConsole * | sc, |
ConsoleLine * | cl_dummy | ||
) |
Definition at line 56 of file console_draw.c.
References BLI_addtail(), CONSOLE_LINE_INPUT, SpaceConsole::history, ListBase::last, ConsoleLine::len, ConsoleLine::len_alloc, ConsoleLine::line, MEM_mallocN, SpaceConsole::prompt, SpaceConsole::scrollback, and ConsoleLine::type.
Referenced by console_copy_exec(), console_selectword_invoke(), and console_textview_main__internal().
void console_scrollback_prompt_end | ( | struct SpaceConsole * | sc, |
ConsoleLine * | cl_dummy | ||
) |
Definition at line 70 of file console_draw.c.
References BLI_remlink(), ConsoleLine::line, MEM_freeN, and SpaceConsole::scrollback.
Referenced by console_copy_exec(), console_selectword_invoke(), and console_textview_main__internal().
int console_textview_height | ( | struct SpaceConsole * | sc, |
const struct ARegion * | region | ||
) |
void console_textview_main | ( | struct SpaceConsole * | sc, |
const struct ARegion * | region | ||
) |
void console_textview_update_rect | ( | SpaceConsole * | sc, |
ARegion * | region | ||
) |
Definition at line 45 of file console_ops.c.
References console_textview_height(), UI_view2d_totRect_set(), ARegion::v2d, and ARegion::winx.
Referenced by console_clear_exec(), console_clear_line_exec(), console_delete_exec(), console_history_cycle_exec(), console_indent_exec(), console_insert_exec(), console_main_region_listener(), console_paste_exec(), console_scrollback_append_exec(), and console_unindent_exec().