Code52 / DownmarkerWPF

MarkPad - a visual Markdown editor (inspired by the Downmarker project)
http://code52.org/DownmarkerWPF/
Microsoft Public License
1.4k stars 458 forks source link

#266 - Added automatic paired characters #418

Closed scottgulliver closed 10 years ago

scottgulliver commented 10 years ago

Implemented paired characters, as described in issue #266. For the characters (), [], {}, '', "", <>:

  1. When inserting the opening char, the closing char gets added automatically.
  2. Deletion of the closing brace is automatic when backspacing the opening char, and the close is immediately to the right.
  3. Overtyping of the closing brace is also implemented.
  4. Highlighting of matching pairs has also been added.
scottgulliver commented 10 years ago

Infact, apologies - I should have removed the addition of 'TextEnteredHandlers', as I am no longer using this. I will make this change, and submit a new request.

JakeGinnivan commented 10 years ago

Sweet, thanks for the pull requests anyways. Will be a nice change