My goal: keep editor text in a center column, I don't want to read from far left to far right.
What I tried: combinations of "centering_width" and "margin". Wrap-mode set to 2.
But it does not stick.
Sometimes it flushes the text to the left after I come back from fullscreen or distraction-free, sometimes it flushes left when switching tabs, sometimes when toggling side-panels, sometimes right upon start-up. When I restart Cuda, it might suddenly be ok. The same file.
Zooming in and out also seems to make it worse.
Switching to distraction-free also makes it worse.
What always solves the problem = Reopen the file. But I must close it first. A simple File Reopen is not enough.
An easier solution, in my opinion, were to offer left and right padding. In pixels, or percent. Easy to position the column. The way it's done in most editors.
Centering_width is erratic
-
- Posts: 2265
- Joined: 25.08.2021 18:15
-
- Posts: 2265
- Joined: 25.08.2021 18:15
I understand that it makes no sense on multiple groups, or split tabs. But when the split is OFF again, or the view is back to one group only, I would expect it to fall back to centered width.
What drives me nuts, is the randomness. It is unpredictable. I zoom, I switch views, and when I come back, it failed me again.
What drives me nuts, is the randomness. It is unpredictable. I zoom, I switch views, and when I come back, it failed me again.
-
- Posts: 2265
- Joined: 25.08.2021 18:15
i reworked the code for this option (2 options).
and added minor stuff.
1.185 (not released yet)
+ add: option "centering_width": reworked code, coz we had hard to reproduce bug when option was reset
+ add: option "centering_width" works also in grouping modes "2 horz", "3 horz", "4 horz", "6 horz"
+ add: option "centering_width" in floating groups: ignores grouping mode in main window
and added minor stuff.
1.185 (not released yet)
+ add: option "centering_width": reworked code, coz we had hard to reproduce bug when option was reset
+ add: option "centering_width" works also in grouping modes "2 horz", "3 horz", "4 horz", "6 horz"
+ add: option "centering_width" in floating groups: ignores grouping mode in main window