adobe/brackets — pull request #1491 by RaymondLim (2012-08-29 00:11:55+00:00)
Title: Don't call replaceRange if the user already has the same text as the selection.

This fixes issue #1382 by not doing a redundant replacement to the edit op stack.