I've posted version 2 of the Code Accelerator script.

Enjoy and please let me if you hit any snags.

Sheri

The following is from the readme file:

Version 2.0
--------------------------------------------------------
-If you highlight text in the active window prior to launching CA,
that text is now used as a filter when loading the combo box. So if
there are matching entries, only those entries are shown in the combo
box. For this purpose, the text can match anywhere in the entry text
(e.g., "height" matches "getheight"). When the bar is shown, the
preselected entry for the combo box is still the first one that starts
with the selected text (if any.). If there is no highlighted text
(subject to copying with Ctrl+C), or the highlighted text doesn't
match any entries, it works as before, and shows all source file
entries. Also, as before, if a selection is registered in the combo
box, it or its associated data is pasted to the active window (which
effectively replaces the highlighted text).

-Added edit entry for entering alternate search terms and check box
for searching help instead. Vector is reused when search term is
entered (unless the help checkbox field is changed). The check box
causes the file pprofolder++"PProHelpTopics.otl" to be searched (which
means the file must exist in that location).

-Added error trap for invalid otl format in otl source file.

-Blank entries (e.g., empty lines in plain files) are now skipped when
loading the combo box).

-Updated pprofunctions_cb.otl to include buit-in commands.

-The bar will always open with focus at the combo box so keystrokes
will scroll to the first matching entry. Easiest way to shift focus to
the edit control is Shift-Tab (and Tab to go back to the combobox.
Remember that F4 will re-expand the (closed) combo box. Tab from the
combo box to get to the help checkbox if desired.


Reply via email to