From: Bernard D. <bde...@us...> - 2020-05-26 09:13:20
|
As a matter of fact, this is already what happens. For example, the preference called *fillColumn* has an associated global variable called also *fillColumn* and Alpha takes care of updating the value of this variable when the mode changes. So, if you are in a mode that supports a *fillColumn* preference, the value of the *fillColumn* variable is the one defined by the mode (either the default value or a user-defined one). Otherwise the *fillColumn* variable contains the global setting (ditto, either the default value or a user-defined one). I think this is a good design and its implementation is quite smart (modesty forbids, I'm not the author!). I have now implemented a dialog which is presented to the user when she modifies the value of this kind of preferences (namely global preferences that may be shadowed by a mode-specific preference). I attach a snapshot of this dialog. --- ** [tickets:#231] Automatic Line Breaking global preference not honoured** **Status:** open **Created:** Sat May 02, 2020 05:45 AM UTC by jwq **Last Updated:** Sat May 23, 2020 01:48 AM UTC **Owner:** nobody Alpha does not honour the "Line Break" setting in the "Alpha Preferences : Text" dialog, which appears to be a global dialog. It's the dialog that prefs search finds when searching for "breaking" but it is also part of the global preferences dialog, under the text menu. Even if this is set to "No Line Breaking" new windows open in text mode with the default "Automatic Line Breaking". Automatic Line Breaking has to be disabled in the Mode preferences "Alpha Preferences : "Text" Mode". This was difficult to find, in large part because prefs search does not show the Text Mode preference, only the global preference, for Line Break. This has caused me a fair bit of frustration over a long period of time - which is why I think this is a bug that needs to be fixed. --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |