Matt Sutton:

> I would like to know if it is possible to display, in effect, a call tip
> window right justified against an auto completion dropdown.  

   There is no support for this in Scintilla. It may be possible to
implement it yourself in the container application.

> The purpose of
> the window is to supply additional information regarding the current
> selection in the auto completion dropdown. 

   There is no notification when selection changes in the
autocompletion list. You could use platform features (such as
subclassing on Windows) to watch the list.

> Assuming it is not possible, I would also like to hear what
> other people think about the idea, how much effort it would likely take,
> where to start, etc...  

   Each platform would have to be modified to detect autocomplete
selection changes. Once the platform code is there adding a new
notification is simple. If you want to implement this for just one
platform, that is OK.

   If the extra window was just a small variation of the current
calltip code with the ability to be visible at the same time as the
autocompletion then that should be easy and OK. I don't want to
incorporate a new type of tool window as I think bundling autocomplete
and calltips so tightly with Scintilla was a mistake as it makes it
harder for applications to modify these or add similar features. A
better approach would have been to provide generic interfaces for
these features so that they could be implemented as required by
containers and then some implementations could be included in the
Scintilla package.

   Neil

_______________________________________________
Scintilla-interest mailing list
Scintilla-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to