![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 50592
Join Date: Oct 2010
Device: Kobo Libre H20
|
Text replacement (shortcuts) doesn't work on MacOS?
I'm puzzled by this... I have several text replacement shortcuts set up on my Mac (System Preferences->Keyboard->Text), and have tested them in other programs. If I type the replacement phrase, I get the substituted text. It's an easy way to insert a smart quote, etc.
But in Sigil (1.9.30), nothing happens! Does Sigil override the system shortcuts and text replacements somehow, or is this a QT issue? (The default shortcut keys for smart quotes on the Mac make no sense to me, grrr... option-] for ’ and option-} for ’ ... really? a sane person would choose option-[ for left single, option-] for right single, option-{ for left double and option-} for right double.) |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,438
Karma: 5702578
Join Date: Nov 2009
Device: many
|
Sigil and Qt has no idea what shortcuts you have at the system level. If your system level shortcuts inserts a single character like a virtual keyboard or input method, it should just work. Given Qt collects and uses its own key events, my guess is Qt is ignoring them or consuming them.
A "solution" is to use Sigil's clips feature and assign whatever shortcuts you want for the first 10 clips you create. Clips also have the capability to wrap additional text or tags around your currently selected text. I also have a SavedSearch find/replace set up in Sigil to automatically do a set of find/replace of short placeholder text that works just like your how you describe for speeding up text insertion where passages require really long words or rare keystrokes that I continually forget. There is also a smarten quotes plugin that intelligently converts dumb to smart quotes. Last edited by KevinH; 07-26-2023 at 09:19 AM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Aura is now mounting as a FAT share on macOS Big Sur and Calibre doesn't work | MelBr | Devices | 1 | 11-23-2021 06:50 PM |
Scrolling doesn't work using trackpad in macOS | vinn | Viewer | 11 | 09-25-2020 02:51 AM |
Adding shortcuts to home screen doesn't work | Toni91 | Calibre Companion | 16 | 12-30-2019 11:09 AM |
[MacOS] Copy & Paste shortcuts ?? | skn | Calibre | 6 | 10-28-2019 12:50 PM |
Sigil doesn't work with MacOS Mojave dark mode | kawayama | Sigil | 7 | 05-22-2019 08:47 AM |