>> I also would have changed those constants to enum to get rid of the const >> array name mappings.
> I removed them in 23531. Yes I see. Is it so easy? I still don't seem to understand the command and shortcut code fully. Where does the textual name for the command come from in your new code (like IDECommandToIdent)? I only see a name in TKeyCommandRelationList.CreateDefaultMapping in unit KeyMapping, but it is a longer name, not the same as in the (now gone) const array had. What do you say about my patch? The SynEdit commands can be used for Designer when mapped correctly and the code works. Maybe there is a bigger plan for forwarding the commands. Now I just forwarded some of them. Regards, Juha Manninen -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
