Fixed the text editor issue that resulted in the replacing all feature looping forever in some cases (closes #426).
Fixed the text editor issue that resulted in the replacing all feature looping forever in some cases (closes #426).

mirams/opencor,mirams/opencor,Fairly/opencor,Fairly/opencor,mirams/opencor,mirams/opencor,Fairly/opencor,Fairly/opencor,Fairly/opencor,mirams/opencor