How to edit any text in chosen editor?

Solution 1:

Is this

http://www.hogbaysoftware.com/products/quickcursor

what you're thinking of?

QuickCursor brings your favorite text editor* to any app with a global keyboard shortcut. Unlike manually copying and pasting between apps, QuickCursor automates the entire process to save you time.

To use Sublime Text 2 with QuickCursor, add it's bundle ID (com.sublimetext.2) to the custom bundle ID field in the QuickCursor preferences.