With 4D v18 R5, we’ve simplified the insertion of soft-hyphens by providing new standard actions, as well as new buttons in the 4D Write Pro Interface widgets.
Two new action standards are at your disposal:
4D Write Pro Interface
This new feature has been added to the 4D Write Pro Interface widgets:
Don’t forget, the source code is available on GitHub. Feel free to adapt it to suit your needs!