Blender Git Loki
Git Commits -> Revision 6352cd5
Revision 6352cd5 by Ian Thompson (master) July 21, 2008, 00:38 (GMT) |
BPyTextPlugin now has descriptors for variables, functions and classes (and their variables/functions). Each descriptor also holds the line number of the definition allowing a simple outliner to be written. Text.setCursorPos(row, col) now pops the text into view if it is in the active window space. The outliner uses this to jump to any definition in a script; it is invoked with Ctrl+T. |
Commit Details:
Full Hash: 6352cd509e6e6f834684ec1e24c42e274a2ed31b
SVN Revision: 15664
Parent Commit: f042a46
Lines Changed: +247, -96
1 Added Path:
/release/scripts/textplugin_outliner.py (+81, -0) (View)
6 Modified Paths:
/release/scripts/bpymodules/BPyTextPlugin.py (+150, -90) (Diff)
/release/scripts/textplugin_functiondocs.py (+1, -1) (Diff)
/release/scripts/textplugin_imports.py (+1, -1) (Diff)
/release/scripts/textplugin_membersuggest.py (+7, -1) (Diff)
/release/scripts/textplugin_suggest.py (+3, -3) (Diff)
/source/blender/python/api2_2x/Text.c (+4, -0) (Diff)
/release/scripts/textplugin_functiondocs.py (+1, -1) (Diff)
/release/scripts/textplugin_imports.py (+1, -1) (Diff)
/release/scripts/textplugin_membersuggest.py (+7, -1) (Diff)
/release/scripts/textplugin_suggest.py (+3, -3) (Diff)
/source/blender/python/api2_2x/Text.c (+4, -0) (Diff)