Merge pull request #16 from Medium/b20140401

Fix a bug in TextRange