JSPWiki feature highlight: Smart Typing Pairs
A great new feature in JSPWiki's Haddock editor is Smart Typing Pairs. When enabled, certain characters when typed will automatically be balanced with their closing counterparts. Example characters include quotation marks, parentheses, and curly and square brackets. This saves time when entering content, as one does not have to manually close these characters – the Haddock editor will do it for you.
You can enable Smart Typing Pairs in the Haddock editor's settings menu (click to enlarge):
The preference will be remembered, so it's a one-time setting.
Now enter a square bracket or double quotation mark, and you'll see the editor will close the character for you (click to enlarge):
When creating (for example) links with Smart Typing Pairs enabled, one only has to enter the opening square bracket ("[") and then paste the desired address – Haddock will take care of the rest.
You can also select existing content and enter the relevant opening character, which will automatically wrap the selection in the correct associated closing character. In the following example we wish to add double quotation marks to the Haddock Template text (click to enlarge):
First select the text (click to enlarge):
And now simply enter Shift+" on the keyboard to enter a double quotation mark. Haddock automatically adds the associated closing character around the selection (click to enlarge):
For more information please check out the Haddock Editor documentation.
Posted at 02:42PM Aug 01, 2016 by Dave Koelmeyer in General | |