diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-17 22:55:20 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-17 22:55:20 +0300 |
commit | 38410b63a60a70faf0b82b6b2ec4172013dd2af1 (patch) | |
tree | 6be6707d1b0e5a7bebe81afbc57c807bf818f935 /source/blender/editors/include/ED_curve.h | |
parent | 8c8792bb127b0b1c33d35e78574e30fa29bd6279 (diff) |
2.5: Text edit mode operators back. Took me a while getting
them nicely repeatable, and splitting up the big edit_text
operator into individual operator so it's all nicely scriptable,
documented, configurable, etc..
* Insert Text, Line Break, Insert Lorem
* Toggle Case, Set Case, Toggle Style, Set Style, Set Material
* Copy Text, Cut Text, Paste Text, Paste File, Paste Buffer
* Move, Move Select, Delete
* Change Spacing, Change Character
Notes
* Text (datablock) to Object doesn't work yet, will need to
implement text editor context for that.
* Some shortcut keys don't work because screen/wm overrides them,
ctrl+x, ctrl+left/right. That override goes top down which works
well for some cases, but here we need to override in the other
direction.
* There's no unicode support in RNA, or the user interface code
for that matter, but text strings can contain these characters.
At the moment it stores a UTF-8 string in char arrays, which is
supposed to be nicely compatible with ascii. Seems reasonable to
add support for UTF-8 in the interface code, python bindings, ..
eventually?
Diffstat (limited to 'source/blender/editors/include/ED_curve.h')
-rw-r--r-- | source/blender/editors/include/ED_curve.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_curve.h b/source/blender/editors/include/ED_curve.h index 3d428dbf754..b79d69e7d07 100644 --- a/source/blender/editors/include/ED_curve.h +++ b/source/blender/editors/include/ED_curve.h @@ -49,13 +49,12 @@ void free_editNurb (struct Object *obedit); void mouse_nurb (struct bContext *C, short mval[2], int extend); -struct Nurb *addNurbprim(struct bContext *C, int type, int newname); +struct Nurb *add_nurbs_primitive(struct bContext *C, int type, int newname); /* editfont.h */ void undo_push_font (struct bContext *C, char *name); void make_editText (struct Object *obedit); void load_editText (struct Object *obedit); -void remake_editText (struct Object *obedit); void free_editText (struct Object *obedit); #endif /* ED_CURVE_H */ |