Text plugin basis with plugin for suggestions/completions. The suggest plugin works...
authorIan Thompson <quornian@googlemail.com>
Tue, 24 Jun 2008 15:25:25 +0000 (15:25 +0000)
committerIan Thompson <quornian@googlemail.com>
Tue, 24 Jun 2008 15:25:25 +0000 (15:25 +0000)
commitbdc030c664640db727ea21a1e854bb62032bf705
tree2897a9a9bea8a9e599a0dc54c1c84703ed913b4c
parent05ce388f358b1cfa7bc7c63e29bd772efbf25d39
Text plugin basis with plugin for suggestions/completions. The suggest plugin works for imported global variables, methods, modules and module members. For example typing:

import Blender
from Blender import *
| <- cursor here suggests globals
Blender.Draw.gl| <- cursor here suggests all Draw members starting gl

Currently suggestions are listed in the console when the space is redrawn but will be presented as a menu-style list soon. Also to add are shortcut/activation keys to allow plugins to respond to certain key strokes.
release/scripts/textplugin_suggest.py [new file with mode: 0644]
source/blender/blenkernel/BKE_suggestions.h [new file with mode: 0644]
source/blender/blenkernel/intern/suggestions.c [new file with mode: 0644]
source/blender/python/BPY_interface.c
source/blender/python/BPY_menus.c
source/blender/python/BPY_menus.h
source/blender/python/api2_2x/Text.c
source/blender/python/api2_2x/doc/Text.py
source/blender/src/drawtext.c
source/blender/src/header_text.c
source/blender/src/usiblender.c