Fixes an issue with numbered lists.

When the selection spanned one or more characters (the selection
was not collapsed) in a numbered list, pressing 'enter' did not
cause the selection to be deleted. This fixes that issue.
Merge pull request #193 from lucthev/v2.1.0

Fixes an issue with numbered lists.