I would still like to delegate this to you. If you are willing, please investigate having zooms support all related settings.
Edward
I remember that I have tried two or more times in the past to fix this issue. I don't remember very well the details but I do remember that I bumped every time in the roadblock which required some very ugly hacks and I abandoned it every time with the strong feeling that nobody really uses this feature, and even if someone does use this feature, it is very hard for me to understand why? What would anyone get through this feature. I really doubt that other editors have similar feature.
If I ever get really bored and in need of some detective investigation work, I might try to solve it just for sport. But it is highly unlikely to happen. If some user shows up with a very good explanation why this feature might be necessary, I would reconsider putting an effort to solve this issue again. As I said before, I am pretty sure nobody uses this feature. If they did, this issue would be reported many times by now.
In effect, a viable feature like (Ctrl+wheel zoom), which is supported by almost every application today, is currently broken in Leo, and the only reason it is broken is some leftover settings in official leoSettings.leo and a few paragraphs somewhere in the Leo's documentation. Your decision to support some potential users who might be still using this feature goes against many actual users (and especially new users) who are using zoom and writes programs in PHP. Why wouldn't you rather have more compassion to those real users, than to some potentially existing users? Let's remove this feature and wait to see if someone is going to notice that it is missing and report an issue.
By the way, in one of your recent commits you wrote:
Removed *weird* redundant, non-functional code in at.precheck
That removal made my Leo totally broken. When I finished my new plugin and wished to push it, I had to update my repository. When I opened leoPlugins.leo after update, and added my plugin there, I could not write the external file. Leo persistently reported that my file is not written because of errors, but no other explanation was given. I checked and rechecked several times looking for some orphan node or anything similar but there was no obvious reason why Leo should refuse to write this file. I had to run it in debugger, step by step, to find that my file is not written because the path it should be written is not equal to the path from which it was read. However, no such explanation was given, nor I as a user was asked if I am sure that path is correct and that the file should be saved to the new path. The problem was in my using symlinks. The both paths resolve to the same file, but they are different if compared as strings. This change is most likely connected with your recent changes of g.os_path_... methods for security reasons. I believe you removed this "*weird* redundant, non-functional code in at.precheck" because recently Leo started to ask too often for permission to write file with no obvious reason. I think I had noticed that too, but didn't pay too much attention. I've fixed this issue and it also fixed issue: #1282 at the same time.
My point is: you are sometimes too careful not to make an inconvenience to some unknown invisible group of users (who might as well be nonexistent), and at the same time (unintentionally of course) you brake some of the Leo's elementary functions for real visible users. I really don't blame you for this. It could easily happen to anyone. But what if it happen? We survived it. It was an inconvenience but nothing too dramatic. Then why not take a risk and make some small inconvenience to those invisible and perhaps only fictional users in order to make something work for the real and visible ones? If they are not fictional, they will raise their voices and we will know they exist. After all Leo is distributed under MIT license which explicitly states:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
And yet you act like there is a bunch of lawyers at your doorstep ready to sue you if you dare to remove some ancient feature that is:
- broken for years now,
- and there were no complains about it being broken
The only complain we have so far is from a user who doesn't use this feature (font per language setting), but the feature he uses is broken (Ctrl-wheel zoom). Why not respect this one user whose complain is sound and reasonable?
Vitalije