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
Synchronizing Lazarus pro...
by
Martin_fr
[
Today
at 12:26:09 pm]
Need help with project ma...
by
dseligo
[
Today
at 12:12:04 pm]
Debian removes FPC/Lazaru...
by
marcov
[
Today
at 11:58:36 am]
Qt6/Wayland clipboard: pa...
by
zeljko
[
Today
at 11:53:24 am]
88 year D. Knuth changes ...
by
Thaddy
[
Today
at 11:26:44 am]
Questions about TFuncSeri...
by
hedgehog
[
Today
at 09:50:46 am]
CADSys4 3D.
by
creaothceann
[
Today
at 09:34:10 am]
macOS 14+ Install Instruc...
by
CM630
[
Today
at 07:56:45 am]
class not found
by
cdbc
[
Today
at 07:40:10 am]
ShortStrings vs long stri...
by
Khrys
[
Today
at 07:39:21 am]
Any way to "embed" Window...
by
egsuh
[
Today
at 05:13:50 am]
Update a table with an Au...
by
CraigC
[March 10, 2026, 10:54:23 pm]
TSplitter color property ...
by
backprop
[March 10, 2026, 08:43:28 pm]
Z80 ZX Spectrum and Syste...
by
Cascade
[March 10, 2026, 08:22:14 pm]
could Ardour's YTK be use...
by
robert rozee
[March 10, 2026, 03:18:36 pm]
[revisited] triple click
by
Thaddy
[March 10, 2026, 01:08:40 pm]
Hello! Anything new?
by
JuhaManninen
[March 10, 2026, 11:22:16 am]
C/C++ code to Object Pasc...
by
domasz
[March 10, 2026, 10:44:20 am]
[Solved] Saving a workboo...
by
Kaljakoira
[March 10, 2026, 09:09:59 am]
Pipewire API
by
Thausand
[March 10, 2026, 07:38:06 am]
Good GPU accelerated math...
by
myisjwj
[March 10, 2026, 03:17:06 am]
REST Server/Client, how t...
by
valdir.marcos
[March 09, 2026, 10:18:36 pm]
TSpeedButton qt6 styleshe...
by
dsiders
[March 09, 2026, 09:40:21 pm]
Purpose of TProcessUTF8
by
Thaddy
[March 09, 2026, 09:08:03 pm]
How to remove consoleApp ...
by
Thaddy
[March 09, 2026, 08:51:40 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: synedit gutter issues (Read 895 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: 12201
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: 12201
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