From: jwq <jw...@us...> - 2020-05-23 01:48:51
|
Bernard, thanks for the reply. I'd like to acknowledge that, as discussed a while ago, modifying the preferences behaviour for all the modes is going to take a *lot* of work. Some suggestion for potential solutions. Probably the simplest solution is to remove all global preferences which have corresponding mode preferences and rely only on the mode preferences. It's the brute force approach to resolving the problem: preferences are either global or mode. Some modes which rely on global values which are being removed may need mode preferences created. This is going to be a lot of work, but probably less work than the elegant solution. The elegant solution is to write a code which allows mode preferences to reference/inherit from the global setting: an additional mode preference setting value "Global Default" which is de-referenced in code as the global preference value. That's going to mean replacing every use of a mode preference *variable* with a mode preference *function* which returns either the global or the local preference value *and* extensive changes to the GUI. I believe we all agreed the last time that this was discussed that pushing the global value to the mode values is going to be error-prone and the same amount of work. --- ** [tickets:#231] Automatic Line Breaking global preference not honoured** **Status:** open **Created:** Sat May 02, 2020 05:45 AM UTC by jwq **Last Updated:** Fri May 22, 2020 12:29 PM 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. |