Blender V5.0
sequencer_text_edit.cc File Reference
#include <cstddef>
#include "DNA_sequence_types.h"
#include "BLI_math_matrix.hh"
#include "BLI_math_vector.hh"
#include "BLI_string.h"
#include "BLI_string_utf8.h"
#include "BKE_context.hh"
#include "BKE_scene.hh"
#include "SEQ_effects.hh"
#include "SEQ_relations.hh"
#include "SEQ_select.hh"
#include "SEQ_time.hh"
#include "SEQ_transform.hh"
#include "WM_api.hh"
#include "RNA_define.hh"
#include "UI_view2d.hh"
#include "ED_screen.hh"
#include "sequencer_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::vse

Enumerations

enum  {
  blender::ed::vse::LINE_BEGIN , blender::ed::vse::LINE_END , blender::ed::vse::TEXT_BEGIN , blender::ed::vse::TEXT_END ,
  blender::ed::vse::PREV_CHAR , blender::ed::vse::NEXT_CHAR , blender::ed::vse::PREV_WORD , blender::ed::vse::NEXT_WORD ,
  blender::ed::vse::PREV_LINE , blender::ed::vse::NEXT_LINE
}
enum  { blender::ed::vse::DEL_NEXT_SEL , blender::ed::vse::DEL_PREV_SEL }

Functions

static bool blender::ed::vse::sequencer_text_editing_poll (bContext *C)
bool blender::ed::vse::sequencer_text_editing_active_poll (bContext *C)
blender::int2 blender::ed::vse::strip_text_cursor_offset_to_position (const TextVarsRuntime *text, int cursor_offset)
static const seq::CharInfoblender::ed::vse::character_at_cursor_pos_get (const TextVarsRuntime *text, const int2 cursor_pos)
static const seq::CharInfoblender::ed::vse::character_at_cursor_offset_get (const TextVarsRuntime *text, const int cursor_offset)
static int blender::ed::vse::cursor_position_to_offset (const TextVarsRuntime *text, int2 cursor_position)
static void blender::ed::vse::text_selection_cancel (TextVars *data)
blender::IndexRange blender::ed::vse::strip_text_selection_range_get (const TextVars *data)
static bool blender::ed::vse::text_has_selection (const TextVars *data)
static void blender::ed::vse::delete_selected_text (TextVars *data)
static void blender::ed::vse::text_editing_update (const bContext *C)
static int2 blender::ed::vse::cursor_move_by_character (int2 cursor_position, const TextVarsRuntime *text, int offset)
static int2 blender::ed::vse::cursor_move_by_line (int2 cursor_position, const TextVarsRuntime *text, int offset)
static int2 blender::ed::vse::cursor_move_line_end (int2 cursor_position, const TextVarsRuntime *text)
static bool blender::ed::vse::is_whitespace_transition (char chr1, char chr2)
static int2 blender::ed::vse::cursor_move_prev_word (int2 cursor_position, const TextVarsRuntime *text, const char *text_ptr)
static int2 blender::ed::vse::cursor_move_next_word (int2 cursor_position, const TextVarsRuntime *text, const char *text_ptr)
static wmOperatorStatus blender::ed::vse::sequencer_text_cursor_move_exec (bContext *C, wmOperator *op)
void blender::ed::vse::SEQUENCER_OT_text_cursor_move (wmOperatorType *ot)
static bool blender::ed::vse::text_insert (TextVars *data, const char *buf, const size_t buf_len)
static wmOperatorStatus blender::ed::vse::sequencer_text_insert_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::vse::sequencer_text_insert_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::ed::vse::SEQUENCER_OT_text_insert (wmOperatorType *ot)
static void blender::ed::vse::delete_character (const seq::CharInfo character, TextVars *data)
static wmOperatorStatus blender::ed::vse::sequencer_text_delete_exec (bContext *C, wmOperator *op)
void blender::ed::vse::SEQUENCER_OT_text_delete (wmOperatorType *ot)
static wmOperatorStatus blender::ed::vse::sequencer_text_line_break_exec (bContext *C, wmOperator *)
void blender::ed::vse::SEQUENCER_OT_text_line_break (wmOperatorType *ot)
static wmOperatorStatus blender::ed::vse::sequencer_text_select_all_exec (bContext *C, wmOperator *)
void blender::ed::vse::SEQUENCER_OT_text_select_all (wmOperatorType *ot)
static wmOperatorStatus blender::ed::vse::sequencer_text_deselect_all_exec (bContext *C, wmOperator *)
void blender::ed::vse::SEQUENCER_OT_text_deselect_all (wmOperatorType *ot)
static wmOperatorStatus blender::ed::vse::sequencer_text_edit_mode_toggle_exec (bContext *C, wmOperator *)
void blender::ed::vse::SEQUENCER_OT_text_edit_mode_toggle (wmOperatorType *ot)
static int blender::ed::vse::find_closest_cursor_offset (const TextVars *data, float2 mouse_loc)
static void blender::ed::vse::cursor_set_by_mouse_position (const bContext *C, const wmEvent *event)
static wmOperatorStatus blender::ed::vse::sequencer_text_cursor_set_modal (bContext *C, wmOperator *, const wmEvent *event)
static wmOperatorStatus blender::ed::vse::sequencer_text_cursor_set_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::ed::vse::SEQUENCER_OT_text_cursor_set (wmOperatorType *ot)
static void blender::ed::vse::text_edit_copy (const TextVars *data)
static wmOperatorStatus blender::ed::vse::sequencer_text_edit_copy_exec (bContext *C, wmOperator *)
void blender::ed::vse::SEQUENCER_OT_text_edit_copy (wmOperatorType *ot)
static wmOperatorStatus blender::ed::vse::sequencer_text_edit_paste_exec (bContext *C, wmOperator *)
void blender::ed::vse::SEQUENCER_OT_text_edit_paste (wmOperatorType *ot)
static wmOperatorStatus blender::ed::vse::sequencer_text_edit_cut_exec (bContext *C, wmOperator *)
void blender::ed::vse::SEQUENCER_OT_text_edit_cut (wmOperatorType *ot)

Variables

static const EnumPropertyItem blender::ed::vse::move_type_items []
static const EnumPropertyItem blender::ed::vse::delete_type_items []