Greg Smith: > I am happy to go ahead and write the code to do this. Do you have any > preferences between the possible implementations? This also leads to > questions about foreground and background colours. If we implement a new > standard style, would we then use the background and foreground colour of > this to set the back/fore colours of the tip (this could be made compatible > with the existing methods).
In calltipStyle38 mode, the foreground and background setting functions should copy into style object 38, so either function can be used. > So, how about adding STYLE_CALLTIP (=38) that is used for the foreground and > background colour, but not used by default for the Facename and size. OK. > Add an enabling call: > > SC_CALLTIPSTYLE(int TabSize, <unused>) > > There is no need to disable it as if author knows of this, there would be no > compatibility problems. The Tabsize is set in screen pixels. OK. > One more question: You use the zoomed size of the fonts for the call tips... > would you consider not zooming them, and just using the size that was asked > for... I like having the size of text in autocompletion and calltips match the text size in the editor and line up with the text. > In this usage, it is a problem that the user can change the display > scaling with the mouse wheel. Developers often set text sizes that are too small or large for some users and having a generic mechanism for changing this can allow people to use software that they can not otherwise see except through a clumsy screen magnifier. > How would you feel about some way to > enable/disable this feature? I noticed that you suggested to someone who > also wanted to do this that they could intercept the Windows message... but > this seems a bit heavy handled. Scintilla shouldn't try to provide every single function that might be needed when there are existing generic platform facilities to do the work. A setting to disable all zooming may be OK. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
