Blender  V3.3
ED_text.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2009 Blender Foundation. All rights reserved. */
3 
8 #pragma once
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 struct ARegion;
15 struct SpaceText;
16 struct Text;
17 struct UndoStep;
18 struct UndoType;
19 struct bContext;
20 
21 bool ED_text_activate_in_screen(struct bContext *C, struct Text *text);
22 
27 
32  struct ARegion *region,
33  const int cursor_co[2],
34  int r_pixel_co[2]);
35 
36 /* text_undo.c */
37 
39 void ED_text_undosys_type(struct UndoType *ut);
40 
42 struct UndoStep *ED_text_undo_push_init(struct bContext *C);
43 
44 /* text_format.c */
45 
47 
48 #ifdef __cplusplus
49 }
50 #endif
struct UndoStep * ED_text_undo_push_init(struct bContext *C)
Definition: text_undo.c:263
bool ED_text_activate_in_screen(struct bContext *C, struct Text *text)
void ED_text_undosys_type(struct UndoType *ut)
Definition: text_undo.c:241
bool ED_text_is_syntax_highlight_supported(struct Text *text)
Definition: text_format.c:202
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_scroll_to_cursor(struct SpaceText *st, struct ARegion *region, bool center)
NSNotificationCenter * center
#define C
Definition: RandGen.cpp:25
static const pxr::TfToken st("st", pxr::TfToken::Immortal)
struct ARegion * region
Definition: context.c:66