[Lazarus] Cannot use bookmarks in code window - why?

Bo Berglund bo.berglund at gmail.com
Sun Apr 23 19:39:14 CEST 2023

I have started a new project in Lazarus 2.2.6/Fpc3.2.2 on a Linux machine
I installed Laz/Fpc using fpcupdeluxe if that matters.

Now I have gotten to a project size that really needs the ability to
set/clear/jumpto bookmarks.

But I have found no way to set a bookmark here! I am pretty sure they were there
some years ago when I last worked on a sizable project with an earlier version
of Lazarus on RPi.

My environment is:
Linux on RaspberryPi4 with the latest version of PiOS (bullseye)
VNC server is enabled on the RPi4 for desktop access.

The Rpi4 is headless (i.e. no monitor) and I access it via RealVNC from my
Windows 10 workstation. This works well mostly.

How can I:
- Set a bookmark
- Clear a bookmark
- Jump to a bookmark

I have looked at the same version of Lazarus on my Windows workstation and there
when I right-click the gutter to the left of the code there is a popup menu with
"Goto Bookmark" and "Toggle Bookmark" and when I click one of these a secondary
menu pops up with further alternative of where to go etc.

But on the RPi4 (via VNC) there is *nothing* happening if I click on any of the
two bookmark related lines in the first pop-up menu....
No secondary menu shows up at all...

Is there a setting somewhere, which I have missed, to enable bookmarks or such?

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list