hardcoded syneditkeycmds are messy - EcFoldLevel1 duplicated 4 times
Original Reporter info from Mantis: BBaz @basile.b
-
Reporter name:
Original Reporter info from Mantis: BBaz @basile.b
- Reporter name:
Description:
syneditkeycmds.pp line 626
error in table result into wrong default shortcuts for command EcFoldLevel 3/4/5.
Steps to reproduce:
- create a new app with a TSynEditMemo
- assign it an HL and fill the memo with some fold-able code
- play with the default folding shortcuts ALT+TAB+0/1/2/...
- shortcuts are incorrect until level 4.
Additional information:
error is tracked and fix available in a patch. see attachment.
see line 626 to 630
(Value: ecToggleMarker9; Name: 'ecToggleMarker9'),
(Value: EcFoldLevel1; Name: 'EcFoldLevel1'),
(Value: EcFoldLevel2; Name: 'EcFoldLevel2'),
(Value: EcFoldLevel3; Name: 'EcFoldLevel1'),
(Value: EcFoldLevel4; Name: 'EcFoldLevel1'),
(Value: EcFoldLevel5; Name: 'EcFoldLevel1'),
Mantis conversion info:
- Mantis ID: 26487
- Version: 1.2.5 (SVN)
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 46369 (#6c44e911)
- Target version: 1.4