Blender V5.3
console_ops.cc File Reference
#include <algorithm>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <sys/stat.h>
#include "MEM_guardedalloc.h"
#include "DNA_userdef_types.h"
#include "BLI_dynstr.hh"
#include "BLI_listbase.hh"
#include "BLI_math_base_c.hh"
#include "BLI_string.hh"
#include "BLI_string_cursor_utf8.hh"
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_report.hh"
#include "BKE_screen.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_screen.hh"
#include "UI_view2d.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "console_intern.hh"

Go to the source code of this file.

Classes

struct  blender::SetConsoleCursor

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define TAB_LENGTH   4

Functions

static void blender::console_scroll_bottom (ARegion *region)
void blender::console_textview_update_rect (SpaceConsole *sc, ARegion *region)
static void blender::console_select_offset (SpaceConsole *sc, const int offset)
void blender::console_history_free (SpaceConsole *sc, ConsoleLine *cl)
void blender::console_scrollback_free (SpaceConsole *sc, ConsoleLine *cl)
static void blender::console_scrollback_limit (SpaceConsole *sc)
static bool blender::console_line_cursor_set (ConsoleLine *cl, int cursor)
static ConsoleLine * blender::console_lb_add__internal (ListBaseT< ConsoleLine > *lb, ConsoleLine *from)
static ConsoleLine * blender::console_history_add (SpaceConsole *sc, ConsoleLine *from)
static ConsoleLine * blender::console_lb_add_str__internal (ListBaseT< ConsoleLine > *lb, char *str, bool own)
ConsoleLine * blender::console_history_add_str (SpaceConsole *sc, char *str, bool own)
ConsoleLine * blender::console_scrollback_add_str (SpaceConsole *sc, char *str, bool own)
ConsoleLine * blender::console_history_verify (const bContext *C)
static void blender::console_line_verify_length (ConsoleLine *ci, int len)
static void blender::console_line_insert (ConsoleLine *ci, const char *str, int len)
static bool blender::console_line_column_from_index (SpaceConsole *sc, const int pos, ConsoleLine **r_cl, int *r_cl_offset, int *r_col)
static wmOperatorStatus blender::console_move_exec (bContext *C, wmOperator *op)
void blender::CONSOLE_OT_move (wmOperatorType *ot)
static wmOperatorStatus blender::console_insert_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::console_insert_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::CONSOLE_OT_insert (wmOperatorType *ot)
static wmOperatorStatus blender::console_unindent_exec (bContext *C, wmOperator *)
void blender::CONSOLE_OT_unindent (wmOperatorType *ot)
static wmOperatorStatus blender::console_delete_exec (bContext *C, wmOperator *op)
void blender::CONSOLE_OT_delete (wmOperatorType *ot)
static wmOperatorStatus blender::console_clear_line_exec (bContext *C, wmOperator *)
void blender::CONSOLE_OT_clear_line (wmOperatorType *ot)
static wmOperatorStatus blender::console_clear_exec (bContext *C, wmOperator *op)
void blender::CONSOLE_OT_clear (wmOperatorType *ot)
static wmOperatorStatus blender::console_history_cycle_exec (bContext *C, wmOperator *op)
void blender::CONSOLE_OT_history_cycle (wmOperatorType *ot)
static wmOperatorStatus blender::console_history_append_exec (bContext *C, wmOperator *op)
void blender::CONSOLE_OT_history_append (wmOperatorType *ot)
static wmOperatorStatus blender::console_scrollback_append_exec (bContext *C, wmOperator *op)
void blender::CONSOLE_OT_scrollback_append (wmOperatorType *ot)
static wmOperatorStatus blender::console_copy_exec (bContext *C, wmOperator *op)
static bool blender::console_copy_poll (bContext *C)
void blender::CONSOLE_OT_copy (wmOperatorType *ot)
static wmOperatorStatus blender::console_paste_exec (bContext *C, wmOperator *op)
void blender::CONSOLE_OT_paste (wmOperatorType *ot)
static void blender::console_cursor_set_to_pos (SpaceConsole *sc, ARegion *region, SetConsoleCursor *scu, const wmEvent *event)
static void blender::console_modal_select_apply (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::console_cursor_set_exit (bContext *C, wmOperator *op)
static wmOperatorStatus blender::console_select_set_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::console_select_set_modal (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::console_select_set_cancel (bContext *C, wmOperator *op)
void blender::CONSOLE_OT_select_set (wmOperatorType *ot)
static wmOperatorStatus blender::console_modal_select_all_invoke (bContext *C, wmOperator *, const wmEvent *)
void blender::CONSOLE_OT_select_all (wmOperatorType *ot)
static wmOperatorStatus blender::console_selectword_invoke (bContext *C, wmOperator *, const wmEvent *event)
void blender::CONSOLE_OT_select_word (wmOperatorType *ot)
Utilities
static char * blender::console_select_to_buffer (SpaceConsole *sc)
static void blender::console_select_update_primary_clipboard (SpaceConsole *sc)
static int blender::console_delete_editable_selection (SpaceConsole *sc)
Indent or Autocomplete Operator
static wmOperatorStatus blender::console_indent_or_autocomplete_exec (bContext *C, wmOperator *)
void blender::CONSOLE_OT_indent_or_autocomplete (wmOperatorType *ot)
Indent Operator
static wmOperatorStatus blender::console_indent_exec (bContext *C, wmOperator *)
void blender::CONSOLE_OT_indent (wmOperatorType *ot)

Variables

static const EnumPropertyItem blender::console_move_type_items []
static const EnumPropertyItem blender::console_delete_type_items []

Macro Definition Documentation

◆ TAB_LENGTH

#define TAB_LENGTH   4

Definition at line 46 of file console_ops.cc.

Referenced by blender::console_indent_exec(), and blender::console_unindent_exec().