Page 1 of 1

default settings

Posted: 24.09.2024 19:13
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.

Re: default settings

Posted: 25.09.2024 16:17
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.