Disable reformating when invoking Class Completion lazarus / 9-Editor ---------------------------------------------------------------------- Henppy · 2016-02-25 01:33 Hi, Is there a way to disable the reformatting that happens when you Ctrl- Shift-C on a class method? For some reason Lazarus inserts line breaks where there shouldn't be any (shorter than my max line length in settings). ---------------------------------------------------------------------- Graeme · 2016-02-25 10:00 Double check your code formatting settings in CodeTools ("IDE -> Options"). ---------------------------------------------------------------------- Henppy · 2016-02-25 18:10 Yep, that's what I did. And they work, but there's no line length option there, so I assume it should get that from Editor > Display > Right Margin? It doesn't seem to do it thou, so I was wondering if there's an option somewhere else. BTW, this is version 1.4.4. I don't know if they changed anything in this department in 1.6 (I couldn't make it work for me). ---------------------------------------------------------------------- Martin_fr · 2016-02-25 18:59 the right margin has nothing to do with that. In codetools options, there is a section called "line splitting" and it has a "max line length" as first of its options. ---------------------------------------------------------------------- Henppy · 2016-02-25 21:54 Aha! I missed that. Thanks a lot.