[Lazarus] TMask revisited

Bart bartjunk64 at gmail.com
Wed Oct 20 23:03:58 CEST 2021

On Wed, Oct 20, 2021 at 9:37 PM José Mejuto via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

> >> There are IMHO two front lines, one is the "replace" of TMask in
> >> internal LCL functions, exposed or not to the user, and in this case all
> >> options that allow mimic the old behaviour should be disabled. The other
> >> one is the TMask itself which can be "replaced" with same settings as
> >> internal LCL functions and/or a TMaskExtended which can use all the
> >> syntax options.

The IDE just uses the TMask of the LCL (but maybe with restricted
options, so ranges are disabled, as not to break backwards
Then again we might decied to use the full capability of TMask and
give users the option to uses ranges as well.
B.t.w. I did not study that piece of code in the IDE: if it did not
specify moDisableSets, it would have supported ranges (not as extended
as the current implementation though).

Oh, and thank you for donating this code to us.

More information about the lazarus mailing list