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
New Mac mini M4 - FPC 3.2...
by
mischi
[
Today
at 09:32:46 am]
Get "serial number" of (r...
by
Thaddy
[
Today
at 09:25:53 am]
Lazarus broke my project
by
Martin_fr
[
Today
at 09:12:11 am]
Some testing the water qu...
by
paweld
[
Today
at 07:07:33 am]
WaveFunction Collapse
by
Boleeman
[
Today
at 04:11:50 am]
Lowercase Drive in LAZ 4....
by
n7800
[
Today
at 12:42:57 am]
Free Vision Build Failing...
by
swissbob
[November 15, 2025, 11:54:34 pm]
Add new unit to a Lazarus...
by
n7800
[November 15, 2025, 11:50:01 pm]
Programmatic filtering in...
by
jamie
[November 15, 2025, 08:05:46 pm]
How to hide IEEE754 limit...
by
srvaldez
[November 15, 2025, 07:42:38 pm]
This worries me about our...
by
Curt Carpenter
[November 15, 2025, 06:32:55 pm]
Porting PDF Viewer from D...
by
Boleeman
[November 15, 2025, 06:21:52 pm]
Form scaling aspect ratio
by
jamie
[November 15, 2025, 05:01:41 pm]
Demo #3 of my "home grown...
by
TBMan
[November 15, 2025, 03:05:57 pm]
Seems like good timing to...
by
mdlueck
[November 15, 2025, 02:17:23 pm]
Lazarus Bugfix Release 4...
by
jwdietrich
[November 15, 2025, 01:54:34 pm]
synedit
by
Martin_fr
[November 15, 2025, 01:49:12 pm]
[SOLVED] How to update 'F...
by
Hartmut
[November 15, 2025, 01:33:36 pm]
Help with search and repa...
by
avk
[November 15, 2025, 07:09:59 am]
Variable "xyz" doesn't no...
by
Mr.Madguy
[November 15, 2025, 06:22:15 am]
Problem Installing CHM He...
by
Curt Carpenter
[November 15, 2025, 03:03:11 am]
EditorMacroScript did not...
by
jamie
[November 15, 2025, 02:55:41 am]
Mapping Images Like Odome...
by
SandyG
[November 14, 2025, 11:53:01 pm]
Problem with Qt5 on macOS
by
zeljko
[November 14, 2025, 10:39:24 pm]
Incompatible type in MTPr...
by
LemonParty
[November 14, 2025, 06:36:59 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: synedit gutter issues (Read 785 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: 11827
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: 11827
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