Blender V5.3
text_autocomplete.cc File Reference
#include <cctype>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "DNA_text_types.h"
#include "BLI_ghash.hh"
#include "BLI_listbase.hh"
#include "BLI_string.hh"
#include "BLI_string_utf8.hh"
#include "BKE_context.hh"
#include "BKE_screen.hh"
#include "BKE_text.h"
#include "BKE_text_suggestions.h"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_screen.hh"
#include "ED_text.hh"
#include "ED_undo.hh"
#include "text_format.hh"
#include "text_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Public API
bool blender::space_text_do_suggest_select (SpaceText *st, const ARegion *region, const int mval[2])
void blender::text_pop_suggest_list ()
Private API
static void blender::text_autocomplete_free (bContext *C, wmOperator *op)
static GHash * blender::text_autocomplete_build (Text *text)
static void blender::get_suggest_prefix (Text *text, int offset)
static void blender::confirm_suggestion (Text *text)
Auto Complete Operator
static wmOperatorStatus blender::text_autocomplete_invoke (bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus blender::text_autocomplete_modal (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::text_autocomplete_cancel (bContext *C, wmOperator *op)
void blender::TEXT_OT_autocomplete (wmOperatorType *ot)