Recent

Author Topic: "Find" could be made better very easily.  (Read 7270 times)

dbannon

  • Hero Member
  • *****
  • Posts: 1474
    • tomboy-ng, a rewrite of the classic Tomboy
Re: "Find" could be made better very easily.
« Reply #15 on: June 17, 2021, 01:25:48 pm »
.....
Nevermind that the majority of programs offering such a feature ("Search"/"Continue Search") pretty much all use the "CTRL+F/F3"-Combination (e.g. pretty much everything from Microsoft, Notepad++ and others)

Actually, some use ctrl-g and shift-ctrl-g, thats the declared way on Mac and a Pluma does it too. Firefox uses both F3 and ctrl-G and I have just made my app do the same, prompted by this conversation !

edit : ctrl-G because G is next to F on most keyboards ?

(and yes, jumping out of a perfectly good aeroplane is questionable)

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1479
  • Former Delphi 1-7, 10.2 user
Re: "Find" could be made better very easily.
« Reply #16 on: June 17, 2021, 01:33:09 pm »
Actually, some use ctrl-g and shift-ctrl-g, thats the declared way on Mac and a Pluma does it too. Firefox uses both F3 and ctrl-G and I have just made my app do the same, prompted by this conversation !

On the Mac, it is CMD-F (find) and CMD-G (next) Shift-CMD-G (previous) - not CTRL, even in Firefox ;)
Lazarus 2.1 r65061 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r65182 FPC 3.3.1 r49223 macOS 11.4 aarch64 Xcode 12.4
Lazarus 2.1 r61574 FPC 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

dbannon

  • Hero Member
  • *****
  • Posts: 1474
    • tomboy-ng, a rewrite of the classic Tomboy
Re: "Find" could be made better very easily.
« Reply #17 on: June 17, 2021, 02:27:52 pm »
Yes Trev. Sigh.
I think of it as the ctrl key as so many key strokes, ctrl-[a, c, v, x...]  map to cmd-[a, c, v, x ...].  My code reflects that mapping.
Thanks for the correction.

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

 

TinyPortal © 2005-2018