This will be in Snippet Expander v1.1.0.
Here's a little demo: https://youtu.be/KClKlQcNDC8
Thanks for the bug report ~traceyc.
Comment by ~traceyc on ~ianmjones/snippetexpander
In Plasma, going to settings for Snippet Expander, it does show "Custom Shortcut:
<Ctrl>grave
"On this machine, I only boot to Plasma, so I only set the shortcut in Plasma My Budgie testing was in a VM
Thanks for the workaround.
Ticket created by ~traceyc on ~ianmjones/snippetexpander
I enabled the shortcut for Search & Paste, which shows "grave" (aka backtick). This works properly on Budgie but not Plasma.
On Plasma, when I press Ctrl and backtick on my keyboard, nothing happens. I have made sure that nothing else uses that shortcut.
Ticket created by ~traceyc on ~ianmjones/snippetexpander
Using Plasma, I can auto expand text in Kate, KWrite, Ghostwriter and KMail (all KDE Frameworks applications)
It doesn't work with Obsidian Notes (electron), Libre Office Writer, Calligra Words or a Thunderbird message. It seems like auto expansion only works in Qt applications on Plasma.
On Budgie, expansions work with gedit and Libre Office Writer and Kate.
It doesn't appear to work in terminals at all, I tried a number of them. Plasma: Konsole, Tilix, Kitty, Terminology, WezTerm Budgie: GNOME terminal, Kitty
Ticket created by ~traceyc on ~ianmjones/snippetexpander
If one snippet has an abbreviation that's part of another abbreviation, part of the abbreviation of one snippet will be added with the expanded text of the other snippet. To reproduce:
Enable "Auto expand snippets as they are typed" Create the following snippets with these abbreviations and text
Abbr Text snp1 First snippet snp2 Different text chk ✓ gchk ✅ Note: The black check with
chk
is UTF8 character \u2713, The green check (which may appear as a check in a box, font depending) is UTF8 character \u2705This is what happens when I use each abbreviation:
snp1 and snp2 expand correctly on Plasma and Budgie (in a text editor)
'chk' expands correctly in gedit on Budgie, but adds a 4 on Plasma in KWrite:
✓ 4'gchk' on Plasma in KWrite expands to
g✓4
(so it adds the g from the abbr. and then the text of the other snippet)In gedit / Writer on Budgie 'gchk' expands to
g✓
That same green check expands correctly with this snippet: abbr text
okc - ok ✅
Comment by ~traceyc on ~ianmjones/snippetexpander
I clicked Submit too early when I wanted to preview
Abbreviation is "jdg" Text is "ಠ_ಠ"
The extra characters can't be seen if I paste them in this form, so I had wanted to attach a screenshot. It doesn't look like attachments are possible here? When I paste them in a plain text file, like in a KWrite window, I can see them. Here's a shared screenshot: https://snipboard.io/4wluAN.jpg
If I manually copy and paste ಠ_ಠ into Kate / KWrite, it appears as expected.
Ticket created by ~traceyc on ~ianmjones/snippetexpander
Extra characters are inserted when expanding text containing a UTF8 character. To reproduce:
Create the following snippet
Abbr Text jdg ಠ_ಠIf I use that abbreviation, what gets pasted in Kate (or KWrite) has extra characters. See the attached file "kwrite_judge_exp.png" This is what it looks like in Kate / KWrite (if you don't see the extra characters, you may need to view this message in a non-GTK mail app like KMail. I see them in KMail but not Thunderbird)