blender/release
Bastien Montagne 3e034831de Refactor 'immediate search' feature
Currently, code just checks whether a text-edited button uses a given icon (VIEWZOOM) to decide to apply changes on each typed char.

This patch adds a propper button flag (UI_BUT_TEXTEDIT_UPDATE) and a dedicated RNA flag (PROP_TEXTEDIT_UPDATE) for that.
It's also now usable not only for text buttons, but also for example for num buttons when in 'text edit' mode, etc.

It also fixes an actual bug, which is for text properties, in 'immediate' mode, hitting escape would not restore org value, because `ui_apply_but_TEX()` would set its orgstr to NULL on first call (giving it to `but->rename_orig` instead of copying it).

Note no change in behavior is expected from user POV.
Update for addons using that 'VIEWZOOM' icon 'feature' will follow (if any).

Reviewers: campbellbarton

Reviewed By: campbellbarton

Projects: #user_interface, #bf_blender:_next

Differential Revision: https://developer.blender.org/D938
2014-12-25 12:55:29 +01:00
..
bin Code cleanup: style/warnings 2014-02-28 11:04:15 +11:00
darwin Revert "OSX/cpack: add a dummy bg and ds_store for dmg" 2014-11-18 11:40:16 +01:00
datafiles Blender 2.73 release candidate commit 2014-12-23 20:42:01 +05:00
freedesktop patch to our desktop file from debian, German translation. 2012-04-16 09:56:12 +00:00
scripts Refactor 'immediate search' feature 2014-12-25 12:55:29 +01:00
text Docs: reference the new manual 2014-12-08 11:18:58 +01:00
windows misc minor edits. 2013-03-29 06:25:22 +00:00
environment-macosx shapekeys are now stored as customdata in editmode, so edit operations like subdivide work (mostly) correctly. tesselated faces now store correct normals in more situations. and added more missing files from the last merge, there may be more though. 2009-11-02 06:33:16 +00:00
environment-mswindows set svn end of lines to native 2011-05-09 08:15:38 +00:00
environment-unix shapekeys are now stored as customdata in editmode, so edit operations like subdivide work (mostly) correctly. tesselated faces now store correct normals in more situations. and added more missing files from the last merge, there may be more though. 2009-11-02 06:33:16 +00:00