NeoLemmix > Editor Bugs / Suggestions
[DISC][EDITOR] Styles.ini overhaul / replacement
namida:
At present, the user-friendly style names, as well as the order, used by the editor come from the "styles.ini" file.
This is better than hardcoding it or not supporting user-friendly names at all, but it means that any changes have to be handled by NL devs, and generally won't be pushed out to users until the next NeoLemmix update.
I'd like to talk about replacing this.
My first thought is to allow styles to include their own metainfo file. This file could look something like the following:
--- Code: (style.nxmi) ---NAME Abstract
AUTHOR namida
ORDER 50
--- End code ---
The editor would load this file, rather than a centralized styles.ini file.
Some key points:
- Styles by the same author would ALWAYS be grouped together. Authors would by default be in alphabetical order, with some means - probably just a manually-editable text file at least at first - to allow the user to override this.
- By extension, the default configuration would have such an override to push the official styles to the top of the list. This would just be a matter of "default setting" and the user could override this if they want.
- The "Order" parameter only applies to the style's order, relative to other styles from the same author. So you don't need to worry about what ORDER values other authors have used.
- In any case where "Order" is not present, or two styles have equal values for order, it would fall back to alphabetical sorting.
- While fallback behavior would exist, it would become a requirement that all new styles being submitted to the NL style manager have this metainfo file. For existing styles, it could be auto-generated based on the current settings in styles.ini.
Thoughts?
mantha16:
I don't really understand most of this but if it means that styles can be listed alphabetically then I'll all for that but can you please also make the drop down menu bigger :D
Proxima:
No, this proposal would prevent customising the styles.ini to make all the styles alphabetical. It would enforce grouping them by author first, with the authors being in alphabetical order.
mantha16:
well thats still kinda alphabetical more helpful if I know which author has created a style but tbh in the editor the biggest issue I have is with the size of the style selection really hard to see so it takes me forever to find a style eps my own lol so it will help in that sense if all mine would be together
namida:
--- Quote from: Proxima on September 30, 2021, 09:43:54 PM ---No, this proposal would prevent customising the styles.ini to make all the styles alphabetical. It would enforce grouping them by author first, with the authors being in alphabetical order.
--- End quote ---
If this is a huge concern, it should be very easy to add an option to not group by author (though I would insist that group-by-author remain the default setting, much like how it is in the default styles.ini). Downside of course being that the per-author ordering would no longer be viable, so it'd have to just be a strict "all styles in alphabetical order" setting.
Navigation
[0] Message Index
[#] Next page
Go to full version