BPyTextPlugin now has descriptors for variables, functions and classes (and their...
authorIan Thompson <quornian@googlemail.com>
Mon, 21 Jul 2008 00:38:42 +0000 (00:38 +0000)
committerIan Thompson <quornian@googlemail.com>
Mon, 21 Jul 2008 00:38:42 +0000 (00:38 +0000)
commit6352cd509e6e6f834684ec1e24c42e274a2ed31b
treeb6c0857db136f08ee149feb66f0136249aa05a3b
parentf042a468fdd0f06ca41c022c9ed6ac59d35ff143
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.
release/scripts/bpymodules/BPyTextPlugin.py
release/scripts/textplugin_functiondocs.py
release/scripts/textplugin_imports.py
release/scripts/textplugin_membersuggest.py
release/scripts/textplugin_outliner.py [new file with mode: 0644]
release/scripts/textplugin_suggest.py
source/blender/python/api2_2x/Text.c