Michael Butscher | 1 Feb 2011 20:58
Picon
Picon

Re: Tree, editor and preview: scrolling with mouse wheel

On 27.01.2011 16:35, alessors wrote:

> I think on the tree and the editor would already be an improvement, and 
> for those who use the internal preview more so.
> 
> Mostly I'd like to be able to scroll the tree while mantaining the focus 
> on the editor/preview.

This should work even with IE preview.

> If nobody else is interested, I'd be glad if you could point me in the 
> right direction on where to look in Wikidpad source.

It was simpler to implement than to explain :-)

The main work is done in file "MainApp.py", class "App", method "FilterEvent".

The handling of the option is done in _rereadGlobalConfig() where the lines

        self.SetCallFilterEvent(self.globalConfig.getboolean("main",
                "mouse_scrollUnderPointer"))

switch the processing of "FilterEvent" on or off.

Michael

------------------------------------


Gmane