292 st->runtime.scroll_region_handle.ymin)) {
305 if (
ELEM(drag->
icon, ICON_FILE_SCRIPT, ICON_FILE_TEXT, ICON_FILE_BLANK)) {
392 const struct IDRemapper *mappings)
struct ScrArea * CTX_wm_area(const bContext *C)
void CTX_data_dir_set(bContextDataResult *result, const char **dir)
bool CTX_data_equals(const char *member, const char *str)
void CTX_data_id_pointer_set(bContextDataResult *result, struct ID *id)
bool CTX_data_dir(const char *member)
@ CTX_RESULT_MEMBER_NOT_FOUND
struct SpaceText * CTX_wm_space_text(const bContext *C)
@ ID_REMAP_APPLY_ENSURE_REAL
IDRemapperApplyResult BKE_id_remapper_apply(const struct IDRemapper *id_remapper, struct ID **r_id_ptr, IDRemapperApplyOptions options)
void BKE_spacetype_register(struct SpaceType *st)
void BLI_addhead(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
bool BLI_rcti_isect_pt(const struct rcti *rect, int x, int y)
@ V2D_SCROLL_VERTICAL_HIDE
void ED_area_tag_redraw(ScrArea *area)
void ED_region_header(const struct bContext *C, struct ARegion *region)
void ED_region_panels(const struct bContext *C, struct ARegion *region)
void ED_region_panels_init(struct wmWindowManager *wm, struct ARegion *region)
void ED_region_header_init(struct ARegion *region)
Read Guarded memory(de)allocation.
#define UI_COMPACT_PANEL_WIDTH
bool UI_textbutton_activate_rna(const struct bContext *C, struct ARegion *region, const void *rna_poin_data, const char *rna_prop_id)
void UI_ThemeClearColor(int colorid)
void UI_view2d_region_reinit(struct View2D *v2d, short type, int winx, int winy)
@ V2D_COMMONVIEW_STANDARD
static void text_update_edited(bContext *C, Object *obedit, int mode)
void(* MEM_freeN)(void *vmemh)
void *(* MEM_dupallocN)(const void *vmemh)
void *(* MEM_callocN)(size_t len, const char *str)
static void area(int d1, int d2, int e1, int e2, float weights[2])
static const pxr::TfToken st("st", pxr::TfToken::Immortal)
void RNA_string_set(PointerRNA *ptr, const char *name, const char *value)
char * RNA_path_full_ID_py(Main *bmain, ID *id)
const char * text_context_dir[]
static void text_cursor(wmWindow *win, ScrArea *area, ARegion *region)
static SpaceLink * text_create(const ScrArea *UNUSED(area), const Scene *UNUSED(scene))
static bool text_drop_paste_poll(bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event))
static void text_header_region_draw(const bContext *C, ARegion *region)
static void text_header_region_init(wmWindowManager *UNUSED(wm), ARegion *region)
static void text_free(SpaceLink *sl)
static void text_drop_copy(bContext *UNUSED(C), wmDrag *drag, wmDropBox *drop)
static void text_id_remap(ScrArea *UNUSED(area), SpaceLink *slink, const struct IDRemapper *mappings)
static void text_properties_region_init(wmWindowManager *wm, ARegion *region)
static void text_dropboxes(void)
static void text_drop_paste(bContext *UNUSED(C), wmDrag *drag, wmDropBox *drop)
static void text_main_region_init(wmWindowManager *wm, ARegion *region)
static void text_keymap(struct wmKeyConfig *keyconf)
static void text_operatortypes(void)
static void text_init(struct wmWindowManager *UNUSED(wm), ScrArea *UNUSED(area))
static void text_properties_region_draw(const bContext *C, ARegion *region)
static void text_main_region_draw(const bContext *C, ARegion *region)
static void text_listener(const wmSpaceTypeListenerParams *params)
void ED_spacetype_text(void)
static int text_context(const bContext *C, const char *member, bContextDataResult *result)
static SpaceLink * text_duplicate(SpaceLink *sl)
static bool text_drop_poll(bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event))
void(* draw)(const struct bContext *C, struct ARegion *region)
void(* cursor)(struct wmWindow *win, struct ScrArea *area, struct ARegion *region)
void(* init)(struct wmWindowManager *wm, struct ARegion *region)
SpaceText_Runtime runtime
struct wmKeyConfig * defaultconf
struct wmEvent * eventstate
void TEXT_OT_autocomplete(wmOperatorType *ot)
void ED_text_format_register_lua(void)
void ED_text_format_register_osl(void)
void ED_text_format_register_py(void)
void ED_text_format_register_pov_ini(void)
void ED_text_format_register_pov(void)
void TEXT_OT_delete(struct wmOperatorType *ot)
void TEXT_OT_indent_or_autocomplete(struct wmOperatorType *ot)
void TEXT_OT_selection_set(struct wmOperatorType *ot)
void TEXT_OT_save(struct wmOperatorType *ot)
void text_free_caches(struct SpaceText *st)
void TEXT_OT_replace(struct wmOperatorType *ot)
void TEXT_OT_select_line(struct wmOperatorType *ot)
void TEXT_OT_paste(struct wmOperatorType *ot)
void TEXT_OT_find_set_selected(struct wmOperatorType *ot)
void TEXT_OT_new(struct wmOperatorType *ot)
void TEXT_OT_line_break(struct wmOperatorType *ot)
void TEXT_OT_cut(struct wmOperatorType *ot)
void TEXT_OT_overwrite_toggle(struct wmOperatorType *ot)
void TEXT_OT_move_select(struct wmOperatorType *ot)
void TEXT_OT_select_word(struct wmOperatorType *ot)
void TEXT_OT_scroll_bar(struct wmOperatorType *ot)
void TEXT_OT_line_number(struct wmOperatorType *ot)
void TEXT_OT_unlink(struct wmOperatorType *ot)
void TEXT_OT_move_lines(struct wmOperatorType *ot)
void TEXT_OT_copy(struct wmOperatorType *ot)
void TEXT_OT_make_internal(struct wmOperatorType *ot)
void TEXT_OT_run_script(struct wmOperatorType *ot)
void TEXT_OT_jump(struct wmOperatorType *ot)
void TEXT_OT_insert(struct wmOperatorType *ot)
void TEXT_OT_unindent(struct wmOperatorType *ot)
void TEXT_OT_resolve_conflict(struct wmOperatorType *ot)
void TEXT_OT_convert_whitespace(struct wmOperatorType *ot)
void TEXT_OT_indent(struct wmOperatorType *ot)
void TEXT_OT_save_as(struct wmOperatorType *ot)
void TEXT_OT_refresh_pyconstraints(struct wmOperatorType *ot)
void TEXT_OT_cursor_set(struct wmOperatorType *ot)
void TEXT_OT_replace_set_selected(struct wmOperatorType *ot)
void draw_text_main(struct SpaceText *st, struct ARegion *region)
void TEXT_OT_select_all(struct wmOperatorType *ot)
void TEXT_OT_open(struct wmOperatorType *ot)
void TEXT_OT_find(struct wmOperatorType *ot)
void TEXT_OT_scroll(struct wmOperatorType *ot)
void TEXT_OT_comment_toggle(struct wmOperatorType *ot)
void TEXT_OT_move(struct wmOperatorType *ot)
void text_drawcache_tag_update(struct SpaceText *st, int full)
void TEXT_OT_reload(struct wmOperatorType *ot)
void TEXT_OT_duplicate_line(struct wmOperatorType *ot)
void TEXT_OT_to_3d_object(struct wmOperatorType *ot)
void WM_cursor_set(wmWindow *win, int curs)
ID * WM_drag_get_local_ID(const wmDrag *drag, short idcode)
ListBase * WM_dropboxmap_find(const char *idname, int spaceid, int regionid)
wmDropBox * WM_dropbox_add(ListBase *lb, const char *idname, bool(*poll)(bContext *, wmDrag *, const wmEvent *), void(*copy)(bContext *, wmDrag *, wmDropBox *), void(*cancel)(Main *, wmDrag *, wmDropBox *), WMDropboxTooltipFunc tooltip)
wmEventHandler_Dropbox * WM_event_add_dropbox_handler(ListBase *handlers, ListBase *dropboxes)
wmEventHandler_Keymap * WM_event_add_keymap_handler_v2d_mask(ListBase *handlers, wmKeyMap *keymap)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
wmKeyMap * WM_keymap_ensure(wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid)
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))