Blender V5.0
console_intern.hh File Reference

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
}

Functions

void console_textview_main (SpaceConsole *sc, const ARegion *region)
int console_textview_height (SpaceConsole *sc, const ARegion *region)
int console_char_pick (SpaceConsole *sc, const ARegion *region, const int mval[2])
void console_scrollback_prompt_begin (SpaceConsole *sc, ConsoleLine *cl_dummy)
void console_scrollback_prompt_end (SpaceConsole *sc, ConsoleLine *cl_dummy)
void console_history_free (SpaceConsole *sc, ConsoleLine *cl)
void console_scrollback_free (SpaceConsole *sc, ConsoleLine *cl)
ConsoleLineconsole_history_add_str (SpaceConsole *sc, char *str, bool own)
ConsoleLineconsole_scrollback_add_str (SpaceConsole *sc, char *str, bool own)
ConsoleLineconsole_history_verify (const bContext *C)
void console_textview_update_rect (SpaceConsole *sc, ARegion *region)
void CONSOLE_OT_move (wmOperatorType *ot)
void CONSOLE_OT_delete (wmOperatorType *ot)
void CONSOLE_OT_insert (wmOperatorType *ot)
void CONSOLE_OT_indent (wmOperatorType *ot)
void CONSOLE_OT_indent_or_autocomplete (wmOperatorType *ot)
void CONSOLE_OT_unindent (wmOperatorType *ot)
void CONSOLE_OT_history_append (wmOperatorType *ot)
void CONSOLE_OT_scrollback_append (wmOperatorType *ot)
void CONSOLE_OT_clear (wmOperatorType *ot)
void CONSOLE_OT_clear_line (wmOperatorType *ot)
void CONSOLE_OT_history_cycle (wmOperatorType *ot)
void CONSOLE_OT_copy (wmOperatorType *ot)
void CONSOLE_OT_paste (wmOperatorType *ot)
void CONSOLE_OT_select_set (wmOperatorType *ot)
void CONSOLE_OT_select_all (wmOperatorType *ot)
void CONSOLE_OT_select_word (wmOperatorType *ot)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
LINE_BEGIN 
LINE_END 
PREV_CHAR 
NEXT_CHAR 
PREV_WORD 
NEXT_WORD 

Definition at line 60 of file console_intern.hh.

◆ anonymous enum

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 61 of file console_intern.hh.

Function Documentation

◆ console_char_pick()

int console_char_pick ( SpaceConsole * sc,
const ARegion * region,
const int mval[2] )

◆ console_history_add_str()

ConsoleLine * console_history_add_str ( SpaceConsole * sc,
char * str,
bool own )

◆ console_history_free()

◆ console_history_verify()

◆ CONSOLE_OT_clear()

void CONSOLE_OT_clear ( wmOperatorType * ot)

◆ CONSOLE_OT_clear_line()

void CONSOLE_OT_clear_line ( wmOperatorType * ot)

Definition at line 877 of file console_ops.cc.

References console_clear_line_exec(), ED_operator_console_active(), and ot.

Referenced by console_operatortypes().

◆ CONSOLE_OT_copy()

void CONSOLE_OT_copy ( wmOperatorType * ot)

◆ CONSOLE_OT_delete()

void CONSOLE_OT_delete ( wmOperatorType * ot)

◆ CONSOLE_OT_history_append()

void CONSOLE_OT_history_append ( wmOperatorType * ot)

◆ CONSOLE_OT_history_cycle()

void CONSOLE_OT_history_cycle ( wmOperatorType * ot)

◆ CONSOLE_OT_indent()

void CONSOLE_OT_indent ( wmOperatorType * ot)

Definition at line 672 of file console_ops.cc.

References console_indent_exec(), ED_operator_console_active(), and ot.

Referenced by console_operatortypes().

◆ CONSOLE_OT_indent_or_autocomplete()

void CONSOLE_OT_indent_or_autocomplete ( wmOperatorType * ot)

◆ CONSOLE_OT_insert()

◆ CONSOLE_OT_move()

◆ CONSOLE_OT_paste()

◆ CONSOLE_OT_scrollback_append()

◆ CONSOLE_OT_select_all()

void CONSOLE_OT_select_all ( wmOperatorType * ot)

◆ CONSOLE_OT_select_set()

◆ CONSOLE_OT_select_word()

void CONSOLE_OT_select_word ( wmOperatorType * ot)

Definition at line 1497 of file console_ops.cc.

References console_selectword_invoke(), ED_operator_console_active(), and ot.

Referenced by console_operatortypes().

◆ CONSOLE_OT_unindent()

void CONSOLE_OT_unindent ( wmOperatorType * ot)

Definition at line 728 of file console_ops.cc.

References console_unindent_exec(), ED_operator_console_active(), and ot.

Referenced by console_operatortypes().

◆ console_scrollback_add_str()

ConsoleLine * console_scrollback_add_str ( SpaceConsole * sc,
char * str,
bool own )

◆ console_scrollback_free()

void console_scrollback_free ( SpaceConsole * sc,
ConsoleLine * cl )

◆ console_scrollback_prompt_begin()

◆ console_scrollback_prompt_end()

void console_scrollback_prompt_end ( SpaceConsole * sc,
ConsoleLine * cl_dummy )

◆ console_textview_height()

int console_textview_height ( SpaceConsole * sc,
const ARegion * region )

Definition at line 242 of file console_draw.cc.

References console_textview_main__internal().

Referenced by console_textview_update_rect().

◆ console_textview_main()

void console_textview_main ( SpaceConsole * sc,
const ARegion * region )

Definition at line 236 of file console_draw.cc.

References console_textview_main__internal().

Referenced by console_main_region_draw().

◆ console_textview_update_rect()