Blender  V2.93
Functions
ED_text.h File Reference

Go to the source code of this file.

Functions

void ED_text_scroll_to_cursor (struct SpaceText *st, struct ARegion *region, bool center)
 
bool ED_text_region_location_from_cursor (struct SpaceText *st, struct ARegion *region, const int cursor_co[2], int r_pixel_co[2])
 
void ED_text_undosys_type (struct UndoType *ut)
 
struct UndoStepED_text_undo_push_init (struct bContext *C)
 
bool ED_text_is_syntax_highlight_supported (struct Text *text)
 

Function Documentation

◆ ED_text_is_syntax_highlight_supported()

bool ED_text_is_syntax_highlight_supported ( struct Text text)

◆ ED_text_region_location_from_cursor()

bool ED_text_region_location_from_cursor ( struct SpaceText st,
struct ARegion region,
const int  cursor_co[2],
int  r_pixel_co[2] 
)

◆ ED_text_scroll_to_cursor()

void ED_text_scroll_to_cursor ( struct SpaceText st,
struct ARegion region,
bool  center 
)

Referenced by text_cursor_set_apply().

◆ ED_text_undo_push_init()

struct UndoStep* ED_text_undo_push_init ( struct bContext C)

◆ ED_text_undosys_type()

void ED_text_undosys_type ( struct UndoType ut)