default settings

Post Reply
phi
Posts: 3
Joined: 02.05.2024 08:50

default settings

Post by phi »

When default settings change, the user should be warned and offered with the choice
- OK, this new setting is fine
- NO, please keep the old setting for this project
- prompt me every time it has an effect and let me choose

And, even better (but more work)
- NO, please keep the old setting for all old projects
- NO, please keep the old setting for all old and new projects


I wondered why I was newly bothered with "Lexer style mapping" ; it seems the tolerance for unmapped items changed OR the default for "use style mapping" changed from NO to YES. Or, I may have mishandled some file while updating.
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Re: default settings

Post by main Alexey »

>When default settings change, the user should be warned and offered with the choice
Do you talk about project's settings? I don't understand the request - where our projects have the default settings?
Each project has its own project settings.
I wondered why I was newly bothered with "Lexer style mapping" ; it seems the tolerance for unmapped items changed OR the default for "use style mapping" changed from NO to YES
This dialog auto shows (on changing the lexer) when file *.cuda-lexmap don't have all lexer styles listed and set.
Test it - when dialog shows, assign all styles, then file *.cuda-lexmap will be changed, compare file then with old text.
This is file in folder data/lexlib.
Post Reply