Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2023-04

Cannot use bookmarks in code window - why?

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

I have started a new project in Lazarus 2.2.6/Fpc3.2.2 on a Linux machine (RaspberryPi4).
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:
Host:
Linux on RaspberryPi4 with the latest version of PiOS (bullseye) VNC server is enabled on the RPi4 for desktop access.

Desktop:
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

Reply by email

Martin Frb
to Bo Berglund
Bo Berglund wrote
I have started a new project in Lazarus 2.2.6/Fpc3.2.2 on a Linux machine

...

Show quoted text 9 lines
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...

There was an issue that has been fixed for Lazarus 2.4 (i.e. in 2.3). It is possible that the fix wasn't backported for some reason.

Though currently we have reports? that there may be individual cases were the problem persists in 2.3.
However despite lots of testing, this has not been reproducible. So the status is unknown.

You can set bookmarks using
?? shift-ctrl-1? .. 0
and go to them
?? ctrl-1? .. 0

Assuming your OS/Desktop has no shortcuts on those combos. If there is a conflict, you can change the Desktop, or Lazarus.

Reply by email

Bo Berglund
to Martin Frb
Martin Frb wrote 29 lines
On 23/04/2023 19:39, Bo Berglund via lazarus wrote: > I have started a new project in Lazarus 2.2.6/Fpc3.2.2 on a Linux machine ... > 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... > There was an issue that has been fixed for Lazarus 2.4 (i.e. in 2.3). It is possible that the fix wasn't backported for some reason. Though currently we have reports? that there may be individual cases were the problem persists in 2.3. However despite lots of testing, this has not been reproducible. So the status is unknown. You can set bookmarks using ?? shift-ctrl-1? .. 0 and go to them ?? ctrl-1? .. 0 Assuming your OS/Desktop has no shortcuts on those combos. If there is a conflict, you can change the Desktop, or Lazarus.

Thanks, that worked fine!

Any timetable for Lazarus 2.4.0 release?

Bo Berglund Developer in Sweden

Reply by email

Giuliano Colla
to Bo Berglund

Il 23/04/23 20:28, Bo Berglund via lazarus ha scritto:

Thanks, that worked fine! Any timetable for Lazarus 2.4.0 release?

If you are impatient, you can get (via fpcupdeluxe or via git repository) the trunk version of Lazarus, where the problem has been fixed, and you'll get the popup menu you were used to!

Reply by email