45 if (region ==
nullptr) {
79 const int sel_len = std::abs(text->
curc - text->
selc);
92 if (active_category && !
STREQ(active_category,
"Text")) {
114 ot->description =
"Start searching text";
115 ot->idname =
"TEXT_OT_start_find";
SpaceText * CTX_wm_space_text(const bContext *C)
ScrArea * CTX_wm_area(const bContext *C)
ARegion * CTX_wm_region(const bContext *C)
ARegion * BKE_area_find_region_type(const ScrArea *area, int region_type)
void BLI_insertlinkafter(struct ListBase *listbase, void *vprevlink, void *vnewlink) ATTR_NONNULL(1)
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL(1
void ED_region_toggle_hidden(bContext *C, ARegion *region)
void ED_region_do_layout(bContext *C, ARegion *region)
void ED_region_do_draw(bContext *C, ARegion *region)
void ED_region_tag_redraw(ARegion *region)
Read Guarded memory(de)allocation.
bool UI_textbutton_activate_rna(const bContext *C, ARegion *region, const void *rna_poin_data, const char *rna_prop_id)
void UI_panel_category_active_set(ARegion *region, const char *idname)
const char * UI_panel_category_active_get(ARegion *region, bool set_fallback)
void *(* MEM_callocN)(size_t len, const char *str)