[Lazarus] Masks: the naming of ...
Bart
bartjunk64 at gmail.com
Wed Nov 3 09:56:25 CET 2021
On Tue, Nov 2, 2021 at 10:59 PM Bart <bartjunk64 at gmail.com> wrote:
> I see 2 solutions:
> 1. On TWindows* mocAnyCharOrNone will be enabled by default, while it
> is not on TMask*
> 2. Remove wqFilenameEnd from DefaultWindowsQuirks and describe that
> adding that quirk implies that mocAnyCharOrNone will be enabled.
>
> A cleaner solution would be to NOT have wqFilenameEnd depend on
> mocAnyCharOrNone , but I have no idea how to do that.
A third solution:
Include mocAnyCharOrNone in DefaultMaskOpCodes.
It is very unlikely that this will cause regressions, since in the old
implementation [?] would only match a literal '?'.
Then, setting wqFilenameEnd in Quirks on TWindows* should implicitely
acitvate mocAnyCharOrNone...
--
Bart
More information about the lazarus
mailing list