Codetools do not accept "cblock" modifier with {$modeswitch cblocks}
Original Reporter info from Mantis: trev @trevoz
-
Reporter name: Trevor Roydhouse
Original Reporter info from Mantis: trev @trevoz
- Reporter name: Trevor Roydhouse
Description:
Attempts to add any form method to a project results in an error and the file AudioComponents.pas is opened in the IDE editor complaining of a CodeTools error (see attached image).
Trivial compressed project1.zip demonstrating issue attached. I have the problem with much bigger real projects. This is just the least amount of code to reproduce the error.
Steps to reproduce:
Try to add a form method (eg OnCreate etc) to the attached project.
Additional information:
See Forum: https://forum.lazarus.freepascal.org/index.php/topic,48744.0.html where Dmitry thinks it may be caused by CodeTools not supporting C-blocks related syntax