The ability for the user to zoom the display is, in most cases a very good 
thing. However, there are times when I would like to make sure that the display 
was exactly what my container application has programmed. To this end, I would 
like to modify (in a backwards compatible way), SCI_SETZOOM as follows:

-------------------------------
SCI_SETZOOM(int zoomInPoints)
SCI_GETZOOM
These messages let you set and get the zoom factor directly. There is no limit 
set on the factors you can set, so limiting yourself to -10 to +20 to match the 
incremental zoom functions is a good idea. You can also disable zooming by 
setting zoomInPoints to -1024. If you do this, no user zoom or use of the 
SCI_ZOOMIN and SCI_ZOOMOUT messages will have any effect until you use 
SCI_SETZOOM with a zoomInPoints values greater than -1024.
-------------------------------

This should have no impact on existing use, and requires relatively modest 
changes to the vs object - using a method to get and set the zoom, for example.

Neil, would this have your blessing?

Greg Smith



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

Reply via email to