Issue with Shortcut Triggering When Using Double "##"

Hi everyone,

I've encountered what seems to be a bug with Text Blaze while using two snippets with the shortcuts ;# and ;##. Both shortcuts are set with the option "Started and ended by Word Break: Shortcuts are triggered when they are preceded and ended by a word break (like a space)."

The issue occurs when I type two ## in succession. As soon as I type the second # for the ;## shortcut, the first shortcut ;# triggers, and the text expands. This happens even though there’s no word break after the ;## shortcut, which leads me to believe this is not the intended behavior.

Has anyone else experienced this issue? Is this a known bug, or is there something I'm missing in the configuration?

For now, I've changed my shortcut to avoid the issue, but it would be great to get this resolved or understand if there’s a workaround.

Thanks for your help!

Hi there, welcome to the community :tada:

The issue is that in order to type the second shortcut, you have to type the first one, which causes the snippet to insert. In this case, when you type ;# and then the second hashtag, it counts that as a word break, inserting the snippet.

Can you change the second shortcut to something more unique? Maybe a different prefix before the hashtags?

That should resolve the issue :slight_smile:

Thank you for the fast response.
To fix the problem, I changed my shortcuts to have the semicolon at the end, making them #; and ##;. This adjustment solved the issue, and now everything works as expected.

2 Likes