Zitat von Juha Manninen <[email protected]>:
Hi, About Lazarus internal code: I was planning to combine command constants from lazarus/components/synedit/SynEditKeyCmds.pp into lazarus/ideintf/IDECommands.pas Now I realize SynEdit is a component which can be used in other projects (not just Lazarus), so the constants can't be moved. (?)
Correct.
Otherwise this refactoring would be logical because many of those editor commands can be used elsewhere in Lazarus, like undo and copy/paste in form designer. I also would have changed those constants to enum to get rid of the const array name mappings.
I removed them in 23531. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
