Blender Git Loki

Git Commits -> Revision 38410b6

Revision 38410b6 by Brecht Van Lommel (master)
February 17, 2009, 19:55 (GMT)
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?

Commit Details:

Full Hash: 38410b63a60a70faf0b82b6b2ec4172013dd2af1
SVN Revision: 19014
Parent Commit: 8c8792b
Lines Changed: +1213, -761

14 Modified Paths:

/source/blender/blenkernel/intern/font.c (+1, -3) (Diff)
/source/blender/editors/curve/curve_intern.h (+48, -16) (Diff)
/source/blender/editors/curve/curve_ops.c (+65, -2) (Diff)
/source/blender/editors/curve/editcurve.c (+3, -3) (Diff)
/source/blender/editors/curve/editfont.c (+984, -578) (Diff)
/source/blender/editors/include/ED_curve.h (+1, -2) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_regions.c (+30, -11) (Diff)
/source/blender/editors/object/object_edit.c (+40, -5) (Diff)
/source/blender/editors/object/object_intern.h (+1, -0) (Diff)
/source/blender/editors/object/object_ops.c (+1, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+8, -3) (Diff)
/source/blender/editors/space_view3d/view3d_header.c (+29, -138) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021