Jump to content
PeterPanettone

Parnassus Bookmarks for Delphi 11 Alexandria?

Recommended Posts

4 hours ago, Lars Fosdal said:

When there are reasons, there should be public information - but there is just silence.

David Millington gave an update at the DelphiCon 2021. They are working on it: HighDPI + IDE integration delayed the publishing.

Share this post


Link to post

I was signed up but didn't have time to watch it - when I tried some of the interesting replays, they were not working.  
Why don't they do a blog post about it and indicate a timeframe for availability?

 

In a way, it is good that they have HighDPI issues since that means proper dogfooding, but I fear that we will be talking about update 1, and not a December hotfix.


Judging from all the HighDPI issues I've seen discussed, the right thing to do would be to break the mold and do it right. 

The current approach with kludges and workarounds = tech debt++.

  • Like 2

Share this post


Link to post

To paraphrase a post; it now takes two MVPs to update a plug-in for D11 HighDPI..

Share this post


Link to post

Without the wonderful Parnassus Bookmarks, is still there a kind of bookmarks in Delphi itself? I remember something in D2010, but it was naive compared to Parnassus, but still better than nothing though.

Share this post


Link to post

Yes, Delphi has had Toggle Bookmarks for a long time where you hit Ctrl+Shift+N (where "N" is the number 1..9) for 9 different bookmarks per file.

 

Since Delphi 10.1 Berlin, you can also use stack-based bookmarks but by default, they use a clumsy collection of the old WordStar key combinations I can't remember. The Bookmarks and Navigator plugins add a lot of nice features which make it usable.

  • Like 1

Share this post


Link to post
2 hours ago, corneliusdavid said:

they use a clumsy collection of the old WordStar key combinations I can't remember

Your definition of clumsy is somebody else's definition of efficient. Ctrl+K Ctrl+G to drop a bookmark, Ctrl+Q Ctrl+G pick up the topmost bookmark, and Ctrl+Alt+Q Ctrl+Alt+G to replace the topmost bookmark is as difficult to remember as any other key combination. I actually appreciate that they did not take away yet another simple keyboard shortcut from us plug-in developers.

 

Talking about WordStar: Ctrl+K N and Ctrl+Q N is yet another key combination to access the Toggle Bookmarks, so these Stack Bookmarks shortcuts fit right in.

Edited by dummzeuch
  • Like 2

Share this post


Link to post
21 minutes ago, dummzeuch said:

Your definition of clumsy is somebody else's definition of efficient.

True. If you like those key combinations better than Ctrl+Shift+B and Escape, then I guess you don't need the Parnassus plugins for stack bookmarks.

Edited by corneliusdavid

Share this post


Link to post

And for the record, I have used some WordStar key combinations, such as Ctrl+K Ctrl+I and Ctrl+K Ctrl+U for indenting and unindenting blocks of code before Tab and Shift+Tab were implemented. 

  • Like 1

Share this post


Link to post
On 12/13/2021 at 8:13 AM, dummzeuch said:

Talking about WordStar: Ctrl+K N and Ctrl+Q N is yet another key combination to access the Toggle Bookmarks, so these Stack Bookmarks shortcuts fit right in.

Ctrl+Shift+Number to place a bookmark and Ctrl+Number to go to bookmark is a bit faster.

I am using AutoHotKey, which allows to remap pressed keys, so I have created a simple script, which remaps Ctrl+Shift+Number and Ctrl+Number to its Ctrl+K/Ctrl+Q counterparts. If you want to try, I have attached this script; it should be put in AutoHotkey.ahk.

This works for "IDE classic" key mapping in Delphi.

Bookmarks.txt

  • Like 1

Share this post


Link to post

If you're willing to install AutoHotKey, these two scripts can substitute for the Parnassus stack bookmarks:

 

#IfWinActive ahk_class TAppBuilder
^n::
Send ^k^g
return

 

#IfWinActive ahk_class TAppBuilder
Escape::
Send ^q^g
return
 

I'm using Ctrl-n to drop a marker, and Esc will collect the last marker. Works well for me. 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×