
Personally, I would not want a default autocorrect setting like this in oXygen because I usually want literal "--" and "---" if I type them (because I am usually in the XML editor and of course "--" is used in comments, etc.). But if it were added to the Autocorrect options and turned off by default, it wouldn't be a problem. (OS X has built-in keyboard shortcuts for en-dash (Alt-hyphen) and em-dash (Shift-Alt-hyphen) so I just use those.) David S. On Oct 1, 2014, at 12:12 PM, Jirka Kosek <jirka@kosek.cz> wrote:
Hi,
good text content should properly use en-dash and em-dash characters. Easy way to type them would be similar to how auto-correction work in some editors:
Typed characters => output
- => - -- => – (en-dash) --- => — (em-dash) ---- => - (cycle back to hyphen and so on)
Has already someone implemented this as a pluging? Or would it be possible to provide this feature directly in oXygen, probably as a part of existing auto-corrections?
If answer is no, I will do it myself, but I thought that I would ask first :-)
TIA,
Jirka
-- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user