You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Dave Koelmeyer <da...@davekoelmeyer.co.nz> on 2016/08/01 09:12:58 UTC

Blog post for review: Smart Typing Pairs

Hi All,

Urgh, it certainly wasn't the idea to set up a blog and then let it
stagnate \u2013 please review the below and let me if it's good to publish.
I'll aim to push several short and sweet blog entries similar to this 
(focusing on feature highlights) on a regular basis going forward.

*****

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 \u2013 the Haddock editor will do it for you.

You can enable Smart Typing Pairs in the Haddock editor's settings
drop-down menu (click to enlarge):

jspwiki-smarttypingpairs-4.png

The preference will be saved, so it's a one-time setting to make.

Now, try entering a square bracket or double quotation mark, and you'll
see the editor will close the character for you (click to enlarge):

jspwiki-smarttypingpairs-5.png

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 \u2013 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):

jspwiki-smarttypingpairs-1.png

First select the text (click to enlarge):

jspwiki-smarttypingpairs-2.png

And now simply enter Shift+" on the keyboard to enter a double quotation
mark. Haddock automatically adds the associated closing pair around the
selection (click to enlarge):

jspwiki-smarttypingpairs-3.png

For more information please check out the Haddock Editor documentation.

-- 
Dave Koelmeyer
http://blog.davekoelmeyer.co.nz
GPG Key ID: 0x238BFF87


Re: Blog post for review: Smart Typing Pairs

Posted by David Vittor <dv...@gmail.com>.
Nicely done. Thanks Dave. Even I learned something new today :)

Cheers,
David V


On Tue, Aug 2, 2016 at 12:44 AM, Dave Koelmeyer <
dave.koelmeyer@davekoelmeyer.co.nz> wrote:

> Hi Harry,
>
> Thanks for the feedback, done and published:
>
> https://blogs.apache.org/jspwiki/entry/haddock_editor_feature_smart_typing
>
> Cheers,
> Dave
>
> On 01/08/16 23:44, Harry Metske wrote:
> > looks good to me, maybe add a link (#1) to the Haddock Editor
> documentation
> > on the last line
> >
> > 1 - https://jspwiki-wiki.apache.org/Wiki.jsp?page=Haddock%20Editor
> >
> > regards,
> > Harry
> >
> >
> > On 1 August 2016 at 11:12, Dave Koelmeyer <
> > dave.koelmeyer@davekoelmeyer.co.nz> wrote:
> >
> >> Hi All,
> >>
> >> Urgh, it certainly wasn't the idea to set up a blog and then let it
> >> stagnate – please review the below and let me if it's good to publish.
> >> I'll aim to push several short and sweet blog entries similar to this
> >> (focusing on feature highlights) on a regular basis going forward.
> >>
> >> *****
> >>
> >> 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
> >> drop-down menu (click to enlarge):
> >>
> >> jspwiki-smarttypingpairs-4.png
> >>
> >> The preference will be saved, so it's a one-time setting to make.
> >>
> >> Now, try entering a square bracket or double quotation mark, and you'll
> >> see the editor will close the character for you (click to enlarge):
> >>
> >> jspwiki-smarttypingpairs-5.png
> >>
> >> 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):
> >>
> >> jspwiki-smarttypingpairs-1.png
> >>
> >> First select the text (click to enlarge):
> >>
> >> jspwiki-smarttypingpairs-2.png
> >>
> >> And now simply enter Shift+" on the keyboard to enter a double quotation
> >> mark. Haddock automatically adds the associated closing pair around the
> >> selection (click to enlarge):
> >>
> >> jspwiki-smarttypingpairs-3.png
> >>
> >> For more information please check out the Haddock Editor documentation.
> >>
> >> --
> >> Dave Koelmeyer
> >> http://blog.davekoelmeyer.co.nz
> >> GPG Key ID: 0x238BFF87
> >>
> >>
>
> --
> Dave Koelmeyer
> http://blog.davekoelmeyer.co.nz
> GPG Key ID: 0x238BFF87
>
>

Re: Blog post for review: Smart Typing Pairs

Posted by Dave Koelmeyer <da...@davekoelmeyer.co.nz>.
Hi Harry,

Thanks for the feedback, done and published:

https://blogs.apache.org/jspwiki/entry/haddock_editor_feature_smart_typing

Cheers,
Dave

On 01/08/16 23:44, Harry Metske wrote:
> looks good to me, maybe add a link (#1) to the Haddock Editor documentation
> on the last line
>
> 1 - https://jspwiki-wiki.apache.org/Wiki.jsp?page=Haddock%20Editor
>
> regards,
> Harry
>
>
> On 1 August 2016 at 11:12, Dave Koelmeyer <
> dave.koelmeyer@davekoelmeyer.co.nz> wrote:
>
>> Hi All,
>>
>> Urgh, it certainly wasn't the idea to set up a blog and then let it
>> stagnate \u2013 please review the below and let me if it's good to publish.
>> I'll aim to push several short and sweet blog entries similar to this
>> (focusing on feature highlights) on a regular basis going forward.
>>
>> *****
>>
>> 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 \u2013 the Haddock editor will do it for you.
>>
>> You can enable Smart Typing Pairs in the Haddock editor's settings
>> drop-down menu (click to enlarge):
>>
>> jspwiki-smarttypingpairs-4.png
>>
>> The preference will be saved, so it's a one-time setting to make.
>>
>> Now, try entering a square bracket or double quotation mark, and you'll
>> see the editor will close the character for you (click to enlarge):
>>
>> jspwiki-smarttypingpairs-5.png
>>
>> 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 \u2013 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):
>>
>> jspwiki-smarttypingpairs-1.png
>>
>> First select the text (click to enlarge):
>>
>> jspwiki-smarttypingpairs-2.png
>>
>> And now simply enter Shift+" on the keyboard to enter a double quotation
>> mark. Haddock automatically adds the associated closing pair around the
>> selection (click to enlarge):
>>
>> jspwiki-smarttypingpairs-3.png
>>
>> For more information please check out the Haddock Editor documentation.
>>
>> --
>> Dave Koelmeyer
>> http://blog.davekoelmeyer.co.nz
>> GPG Key ID: 0x238BFF87
>>
>>

-- 
Dave Koelmeyer
http://blog.davekoelmeyer.co.nz
GPG Key ID: 0x238BFF87


Re: Blog post for review: Smart Typing Pairs

Posted by Harry Metske <ha...@gmail.com>.
looks good to me, maybe add a link (#1) to the Haddock Editor documentation
on the last line

1 - https://jspwiki-wiki.apache.org/Wiki.jsp?page=Haddock%20Editor

regards,
Harry


On 1 August 2016 at 11:12, Dave Koelmeyer <
dave.koelmeyer@davekoelmeyer.co.nz> wrote:

> Hi All,
>
> Urgh, it certainly wasn't the idea to set up a blog and then let it
> stagnate – please review the below and let me if it's good to publish.
> I'll aim to push several short and sweet blog entries similar to this
> (focusing on feature highlights) on a regular basis going forward.
>
> *****
>
> 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
> drop-down menu (click to enlarge):
>
> jspwiki-smarttypingpairs-4.png
>
> The preference will be saved, so it's a one-time setting to make.
>
> Now, try entering a square bracket or double quotation mark, and you'll
> see the editor will close the character for you (click to enlarge):
>
> jspwiki-smarttypingpairs-5.png
>
> 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):
>
> jspwiki-smarttypingpairs-1.png
>
> First select the text (click to enlarge):
>
> jspwiki-smarttypingpairs-2.png
>
> And now simply enter Shift+" on the keyboard to enter a double quotation
> mark. Haddock automatically adds the associated closing pair around the
> selection (click to enlarge):
>
> jspwiki-smarttypingpairs-3.png
>
> For more information please check out the Haddock Editor documentation.
>
> --
> Dave Koelmeyer
> http://blog.davekoelmeyer.co.nz
> GPG Key ID: 0x238BFF87
>
>