This patch splits the Zoom to Mouse Position user-pref option into two options: for the 3D view, and other 2D editors. It's clear from the description of Zoom to Mouse Position that it was intended for the 3D view:
"Zoom in towards the mouse pointer's position in the 3D view, rather than the 2D window center."
2D editors, however, had also depended on this option. With this patch, they are separated. This makes it possible to zoom towards the mouse in the timeline, node editor, image editor, etc. without it being enabled for the viewport.
- This code sets the new option, 2D Editor Zoom to Mouse, to be disabled by default. Would it be better to, potentially, have it enabled by default? That would be a noteable change, but worth it?
- Unsure what, if anything, should go into userdef_versioning.c