The main concern I'd have about it is the unrepresentable BB codes, such as quote or media tags. The ideal would be to try to reverse the selected text back to the portion of the raw post that it covers, that'd be awesome... but I don't even know how to approach it.
Agree it would be a cool feature if we can come up with rational ways to handle those cases.