jessegrosjean/quickcursor — pull request #25 by rgraciano (2011-12-10 19:10:56+00:00)
Title: Added "Insert Only" mode to QuickCursor

My last commit message sums up this change pretty well. This is a substantial upgrade, in that it enables an additional workflow (one I use frequently - email). Hope you find it useful! Let me know if you have any questions. Also if you do make use of this, I'd appreciate a footnote someplace mentioning my name as a contributor.

Best,
-Ryan

Commit message:

Currently, QuickCursor always copies all text from the target window
before opening the external editor. After the editor is opened and
the text is edited, QuickCursor eliminates everything from the original
buffer in the paste.

This is not so great if you are, say, replying to an email and only want
to edit your response in the external editor without destroying the rest
of the email chain. Hence, "insert" - "insert" will NOT copy or select
the buffer before opening the external editor. It'll just open up the
editor, and upon save/quit, it'll paste the text back in at the cursor.

While I was in there, I also made one or two minor enhancements.
Now, if you pick a shortcut that is already in use, the app will
look through the existing shortcuts and remove dupes. This also
works with the Edit/Insert feature; the app will actually pull the
dupe shortcut out of the other control if it's currently displaying.

This is the first thing I have ever done in Objective-C, so
apologies if I'm slightly off on common idioms and that sort of
thing.