John Ehresman:

The attached patch allows the popup to be displayed below as long as it
can fit on the monitor the cursor is on.  It's only implemented on the
gtk platform, but hopefully isn't too difficult to implement on other
platforms.

  For Windows, this requires calls (MonitorFromPoint, GetMonitorInfo)
that are not available on Windows 95. I wrote an implementation that
works on more recent versions but its #ifdefed out and an empty
rectangle returned instead. The code calling this now interprets an
empty rectangle as meaning to use the client rectangle (as it did
before) so this makes it easier for platforms to update to the new API
without a real implementation. OS X does this too.

  The ifdef in the Windows version is MULTIPLE_MONITOR_SUPPORT. If
someone else wants to do the work of dynamically loading and calling
the functions and ensuring it works on Windows 95 then I'll include
it.

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

Reply via email to