[SOLVED] Fold only 1st level lazarus / 9-Editor ---------------------------------------------------------------------- mdalacu · 2016-11-04 13:57 Hi, is there an option to fold all but only first level? This way you could search very easily within very large source files, you would see only the methods declarations and expand with a single click only that you want. Thanks ---------------------------------------------------------------------- Blaazen · 2016-11-04 21:05 Alt+Shift+1 (it is default, you can change it to whatever you want in Key Mappings) ---------------------------------------------------------------------- mdalacu · 2016-11-07 06:09 Thanks for your reply. The problem is that this shortcut also folds all the other sublevels, it folds all. I only need to fold 1st level because when i expand that particular method i do not have to press multiple small boxes to view it all :-) Any ideas? Thanks. ---------------------------------------------------------------------- mdalacu · 2016-11-07 06:13 I have solved it...In settings, Editor ,Code Folding i have unchecked all but Procedure. Now, pressing Alt Shift 1 is behaving the way i want. Very quick also...