I am not a serious programmer and this may just be over my head. But I would like to be able to create a few new buttons that would work the way buttons like \"o work in the WinEdt GUI Page Control bar do.
That is, you can select a letter, say "a
", in your file, then click on the button \"o
in the WinEdt GUI Page Control bar, and WinEdt will insert \"{a}
in your file.
I have designed a few new commands sort of like \"{}
(with help from Alan Munn How to use CJK ruby for diacritics only). And it would save me a lot of work if I could just select a character in the file and click a button and get one of these commands wrapped around that character.
Is there an easy way to do that?
As far as I can see the questions Quick Build commands in WinEdt and Adding a new command in Winedt 8 do not address my goal of getting the command wrapped around a piece of text.