ttscoff/MarkdownEditing — pull request #19 by jngeist (2012-10-15 16:09:17+00:00)
Title: Solves issue inserting footnotes above 10

When 9+ footnotes are present, `⌘⇧6` would insert footnote marker `[^10]`, even if `[^10]` was already present. This was caused by get_last_footnote_marker using string sorting rather than numerical sorting.

This pull request resolves this issue, removes superfluous logging from GatherMissingFootnotesCommand, and resolves an edge case where GatherMissingFootnotesCommand would fail to call view.end_edit().