Greg Smith:

> 1) Call tips seem to use STYLE_DEFAULT - at least as far as the facename and
> size. This is a pain as it makes the call tip seem too imposing... it would be
> really nice to either add a new predefined style, say STYLE_CALLTIP=38, or add
> another message - SCI_SETCALLTIPSTYLE(int styleNum, <unused>) to determine
> which style is to be used. I noticed that there was a message about fonts
> earlier and Neil indicated he would accept a patch. Did anything come of this?

   Nothing was produced. To be acceptable, existing users should not
see any changes unless they change their code to opt in to the new
way. It can be a new style but there would have to be a call to use
that style and it would have to integrate with the existing
SCI_CALLTIPSETBACK / SCI_CALLTIPSETFORE. .

> All Ok so far, but if we use a proportional font, nothing lines up as . So it
> would
> be nice to set a tab size. This could be done as part of an SC_SETCALLTIPSTYLE
> (int styleNum, int TabSize)... with tabs set in pixels (we can find out how 
> big
> by using the SCI_TEXTWIDTH call).

    OK.

> 3) The documentation for call tips should be extended to say how the call tip
> font is constructed:
>
> "The call tip is displayed using the font facename and current zoomed size of
> STYLE_DEFAULT [or the style set by SC_SETCALLTIPSTYLE]. Other style features
> such as italic and bold are ignored."

   OK.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to