Dnia piątek, 7 kwietnia 2006 10:43, Thomas Michael Engelke napisał: > Hello! > > I've seen a "Progress 4GL"-editor (ed4win) having a killer feature: A > combobox with all the triggers (on <eventname> of <component>), > functions and procedures of the current file. It is implemented as a > gui-component in the upper part of the editor. > > As I guess vim does not allow the creation of components in the gui > parts, I see in vim 7.0 the chance to use the auto completion lists > for that matter. > > I would like to set a key to open a list of all the mentioned lines at > a fixed x/y-location. I am able to write the regex for myself but am > not sure if and how I can accomplish the other part.
You have two choices: - omni-completion popup menu (examples of completion scripts are in autoload directory; the best example for you is probably phpcomplete because it doesn't rely completely on ctags or data) - create quickfix/location list and display it in quickfix window m.
