Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
synedit gutter issues
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Artificial Intelligence a...
by
Retrofoxed
[
Today
at 01:12:49 am]
Lazarus in wayland QT6 Pl...
by
TheMouseAUS
[
Today
at 12:21:24 am]
Read/Parse PDB file to ge...
by
marcov
[May 14, 2026, 11:45:56 pm]
show me the parameters ce...
by
n7800
[May 14, 2026, 11:23:09 pm]
MP3 encoder
by
Tomxe
[May 14, 2026, 09:48:37 pm]
Scripts to generate ofici...
by
valdir.marcos
[May 14, 2026, 09:48:31 pm]
Gtk3 widgetset - call for...
by
PascalDragon
[May 14, 2026, 09:30:45 pm]
StringGrid: which is "cur...
by
valdir.marcos
[May 14, 2026, 09:27:05 pm]
FPC Unleashed (inline var...
by
VisualLab
[May 14, 2026, 09:17:03 pm]
Release ray4laz 6.0
by
MikeHart
[May 14, 2026, 09:07:32 pm]
Pure Pascal LZ4, LZ5 and ...
by
LemonParty
[May 14, 2026, 06:50:43 pm]
Pls support Double Comman...
by
Hansvb
[May 14, 2026, 03:30:31 pm]
Can I get the position an...
by
CM630
[May 14, 2026, 02:37:08 pm]
When is it useful for a p...
by
Hansvb
[May 14, 2026, 02:18:50 pm]
text color visible
by
Paolo
[May 14, 2026, 12:10:14 pm]
Transparent form
by
rvk
[May 14, 2026, 11:02:39 am]
Connecting to AzureSQL
by
CharlyTango
[May 14, 2026, 10:21:29 am]
Qt does not position form...
by
dbannon
[May 14, 2026, 09:42:44 am]
How to compare floating p...
by
Sander
[May 13, 2026, 11:12:02 pm]
TA Chart Axes visibility ...
by
Nicole
[May 13, 2026, 08:27:54 pm]
new feature for IDE
by
n7800
[May 13, 2026, 08:20:14 pm]
Can /my/ AI help me with ...
by
440bx
[May 13, 2026, 07:28:37 pm]
SynEdit auto End of line ...
by
eldonfsr
[May 13, 2026, 05:02:39 pm]
[beyond fixing]FPGMAP acc...
by
Thaddy
[May 13, 2026, 01:13:34 pm]
Hint tools gives wrong hi...
by
Nicole
[May 13, 2026, 01:11:47 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: synedit gutter issues (Read 966 times)
aducom
Full Member
Posts: 162
synedit gutter issues
«
on:
September 27, 2024, 08:38:27 pm »
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.
Logged
Martin_fr
Administrator
Hero Member
Posts: 12345
Debugger - SynEdit - and more
Re: synedit gutter issues
«
Reply #1 on:
September 27, 2024, 08:46:47 pm »
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]
[+]
[-]
TFooGutterPart
.
create
(
SynEdit
.
Gutter
.
PartList
)
;
// or RightGutter
That automatically adds it. It will also be owned (i.e. freed) by the edit.
Logged
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
aducom
Full Member
Posts: 162
Re: synedit gutter issues
«
Reply #2 on:
September 27, 2024, 09:57:28 pm »
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.
Logged
Martin_fr
Administrator
Hero Member
Posts: 12345
Debugger - SynEdit - and more
Re: synedit gutter issues
«
Reply #3 on:
September 27, 2024, 10:06:03 pm »
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".
Logged
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
aducom
Full Member
Posts: 162
Re: synedit gutter issues
«
Reply #4 on:
September 29, 2024, 05:09:42 pm »
Totally overlooked... Thank you very much.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
synedit gutter issues
TinyPortal
© 2005-2018