En Dash and Em Dash Using Hyphens

Done Typing & autocorrect

OverClocked TESTER ·

Like the stock keyboard’s smart punctuation, converting double hyphens (--) into an en dash (–) and triple hyphens (---) into an em dash (—) would be helpful, avoiding the need to long-press the hyphen key to choose the dashes.

Discussion

efko DEV ·
status → Planned
efko DEV ·

@OverClocked I checked the stock keyboard, and it actually turns -- into an em dash (—). It only makes an en dash (–) after a number, like 5--3, so I copied that exactly. Coming in build 447 and in 2.2 on the App Store: -- becomes — as you type, backspace right after gives you the hyphens back, and there's a switch for it under Spacing & punctuation.

efko DEV ·
status → Needs testing
OverClocked TESTER ·

This works now. Double hyphens turns into en dash after a number and em dash after letters.

efko DEV ·
status → Done (suggested by @OverClocked)

Sign in to comment or vote.