synedit gutter issues lazarus / 31-LCL ---------------------------------------------------------------------- aducom · 2024-09-27 18:38 I'm migrating an application from lazarus 2.2 into 3.4. I run into a number of issues. One of them is that the synedit component lost it's gutter parts. I can add gutter parts, but only SynGutterLineNumber appears. How do I add other gutter elements? I mean marks,changes etc. ---------------------------------------------------------------------- Martin_fr · 2024-09-27 18:46 What code to you use? If the SynEdit is on the form in the designer then you can add gutters there. Otherwise something like Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i TFooGutterPart.create(SynEdit.Gutter.PartList); // or RightGutter That automatically adds it. It will also be owned (i.e. freed) by the edit. ---------------------------------------------------------------------- aducom · 2024-09-27 19:57 Thank you. You can simply add gutters with the property editor. But I can only add a line number part. The other types are no available, unless I overlook something. How to add a change gutter, a gutter for breakpoints, folding etc. ---------------------------------------------------------------------- Martin_fr · 2024-09-27 20:06 You do have the "Editing SynEdit1.Parts" window open ? (from the ... button in gutter.parts)? Below the "Add" button it says "Line Numbers" => that is a drop down. So when you click it you should get a list and be able to chose. Whatever you have selected, will be added the next time you press "add". ---------------------------------------------------------------------- aducom · 2024-09-29 15:09 Totally overlooked... Thank you very much.