While calculating diff common prefix or suffix is given priority instead of word boundary. Parameters should be available to disable this. 
While calculating diff common prefix or suffix is given priority instead of word boundary. Parameters should be available to disable this.