Home
last modified time | relevance | path

Searched refs:SpaceText (Results 1 – 25 of 27) sorted by relevance

12

/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_text/
H A Dtext_intern.h30 struct SpaceText;
37 void draw_text_main(struct SpaceText *st, struct ARegion *region);
41 void text_update_character_width(struct SpaceText *st);
76 int wrap_width(const struct SpaceText *st, struct ARegion *region);
77 void wrap_offset(const struct SpaceText *st,
83 void wrap_offset_in_line(const struct SpaceText *st,
89 int text_get_char_pos(const struct SpaceText *st, const char *line, int cur);
91 void text_drawcache_tag_update(struct SpaceText *st, int full);
92 void text_free_caches(struct SpaceText *st);
98 int text_get_span_wrap(const struct SpaceText *st,
[all …]
H A Dspace_text.c59 SpaceText *stext; in text_create()
61 stext = MEM_callocN(sizeof(SpaceText), "inittext"); in text_create()
103 SpaceText *stext = (SpaceText *)sl; in text_free()
116 SpaceText *stextn = MEM_dupallocN(sl); in text_duplicate()
130 SpaceText *st = area->spacedata.first; in text_listener()
255 SpaceText *st = CTX_wm_space_text(C); in text_context()
296 SpaceText *st = CTX_wm_space_text(C); in text_main_region_draw()
315 SpaceText *st = area->spacedata.first; in text_cursor()
409 SpaceText *st = CTX_wm_space_text(C); in text_properties_region_draw()
426 SpaceText *stext = (SpaceText *)slink; in text_id_remap()
H A Dtext_ops.c180 SpaceText *st = CTX_wm_space_text(C); in text_space_edit_poll()
197 SpaceText *st = CTX_wm_space_text(C); in text_region_edit_poll()
253 SpaceText *st = CTX_wm_space_text(C); in text_new_exec()
321 SpaceText *st = CTX_wm_space_text(C); in text_open_exec()
423 SpaceText *st = CTX_wm_space_text(C); in text_reload_exec()
494 SpaceText *st = CTX_wm_space_text(C); in text_unlink_exec()
1204 SpaceText *st = CTX_wm_space_text(C); in text_line_break_exec()
1335 SpaceText *st = CTX_wm_space_text(C); in text_convert_whitespace_exec()
2121 SpaceText *st = CTX_wm_space_text(C); in text_move_cursor()
2363 SpaceText *st = CTX_wm_space_text(C); in text_delete_exec()
[all …]
H A Dtext_draw.c108 static void txt_format_text(SpaceText *st)
190 int wrap_width(const SpaceText *st, ARegion *region) in wrap_width()
413 static int text_draw_wrapped(const SpaceText *st, in text_draw_wrapped()
509 static void text_draw(const SpaceText *st, in text_draw()
589 static void text_drawcache_init(SpaceText *st) in text_drawcache_init()
723 void text_drawcache_tag_update(SpaceText *st, int full) in text_drawcache_tag_update()
772 void text_free_caches(SpaceText *st) in text_free_caches()
854 int text_get_total_lines(SpaceText *st, ARegion *region) in text_get_total_lines()
1555 void draw_text_main(SpaceText *st, ARegion *region) in draw_text_main()
1718 void text_update_character_width(SpaceText *st) in text_update_character_width()
[all …]
H A Dtext_format.h49 int flatten_string(const struct SpaceText *st, FlattenString *fs, const char *in);
72 void (*format_line)(SpaceText *st, TextLine *line, const bool do_next);
H A Dtext_autocomplete.c52 bool text_do_suggest_select(SpaceText *st, ARegion *region, const int mval[2]) in text_do_suggest_select()
301 SpaceText *st = CTX_wm_space_text(C); in text_autocomplete_invoke()
332 SpaceText *st = CTX_wm_space_text(C); in text_autocomplete_modal()
607 SpaceText *st = CTX_wm_space_text(C); in text_autocomplete_free()
H A Dtext_header.c82 SpaceText *st = CTX_wm_space_text(C); in text_text_search_exec()
H A Dtext_format.c71 int flatten_string(const SpaceText *st, FlattenString *fs, const char *in) in flatten_string()
H A Dtext_undo.c215 SpaceText *st = CTX_wm_space_text(C); in text_undosys_step_decode()
H A Dtext_format_lua.c178 static void txtfmt_lua_format_line(SpaceText *st, TextLine *line, const bool do_next) in txtfmt_lua_format_line()
H A Dtext_format_osl.c204 static void txtfmt_osl_format_line(SpaceText *st, TextLine *line, const bool do_next) in txtfmt_osl_format_line()
H A Dtext_format_py.c328 static void txtfmt_py_format_line(SpaceText *st, TextLine *line, const bool do_next) in txtfmt_py_format_line()
H A Dtext_format_pov_ini.c362 static void txtfmt_pov_ini_format_line(SpaceText *st, TextLine *line, const bool do_next) in txtfmt_pov_ini_format_line()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/include/
H A DED_text.h31 struct SpaceText;
37 bool ED_text_region_location_from_cursor(struct SpaceText *st,
/dports/graphics/blender/blender-2.91.0/source/blender/makesrna/intern/
H A Drna_space_api.c62 ID *id, SpaceText *st, int line, int column, int r_pixel_pos[2]) in rna_SpaceTextEditor_region_location_from_cursor()
H A Drna_space.c1689 SpaceText *st = (SpaceText *)(ptr->data); in rna_SpaceTextEditor_word_wrap_set()
1699 SpaceText *st = (SpaceText *)(ptr->data); in rna_SpaceTextEditor_text_set()
1706 static bool rna_SpaceTextEditor_text_is_syntax_highlight_supported(struct SpaceText *space) in rna_SpaceTextEditor_text_is_syntax_highlight_supported()
1715 SpaceText *st = (SpaceText *)ptr->data; in rna_SpaceTextEditor_updateEdited()
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/
H A DBKE_context.h55 struct SpaceText;
184 struct SpaceText *CTX_wm_space_text(const bContext *C);
/dports/graphics/blender/blender-2.91.0/source/blender/makesdna/
H A DDNA_space_types.h1233 typedef struct SpaceText { struct
1280 } SpaceText; argument
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dscreen.c150 SpaceText *st = (SpaceText *)sl; in BKE_screen_foreach_id_screen_area()
H A Dcontext.c777 struct SpaceText *CTX_wm_space_text(const bContext *C) in CTX_wm_space_text()
/dports/graphics/blender/blender-2.91.0/source/blender/blenloader/intern/
H A Dversioning_legacy.c738 SpaceText *st = (SpaceText *)sl; in blo_do_versions_pre250()
1229 SpaceText *st = (SpaceText *)sl; in blo_do_versions_pre250()
H A Dversioning_defaults.c188 SpaceText *stext = area->spacedata.first; in blo_update_defaults_screen()
H A Dversioning_250.c389 SpaceText *st = (SpaceText *)sl; in area_add_window_regions()
H A Dreadfile.c5184 SpaceText *st = (SpaceText *)sl; in direct_link_area()
5353 SpaceText *st = (SpaceText *)sl; in lib_link_area()
5931 SpaceText *st = (SpaceText *)sl; in lib_link_workspace_layout_restore()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/
H A Dinterface_ops.c1331 SpaceText *st = area->spacedata.first; in editsource_text_edit()

12