Chaining content assist's in an editor [message #520276] |
Thu, 11 March 2010 19:28 |
Bill Masek Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Hi,
I am working on a editor where I want to provide a different set of
options automatically after the user chooses 1 option.
Say for example my language is
%foo: !
%foo: *
%bar: ~
%bar: &
When the user types % I want to provide the choice %foo: and %bar:. If
the user selects %foo: then I want to provide the option of ! or *. If
the user selects %bar then I want to provide the option of ~ or &.
I have a % content assist to select between foo and bar. I have another
content assist for %foo: so if the user actually types the : I get the
options correctly.
Is there some way for me to "chain" the content assists so that after
user selects %foo: I can present the options for %foo: without forcing
the user to type Ctl-space or delete and retype the :?
Thanks,
Bill Masek
781-572-8697
billmasek comcast net
|
|
|
Powered by
FUDForum. Page generated in 0.24787 seconds