 					cursor.endOffset - padLength);
 			if (cursorEndPoint !== null) {
 				pattern2 = newText.substring(cursorEndPoint,
-                                                     					cursorEndPoint + pattern1.length);
+ 																		cursorEndPoint + pattern1.length);
 				//alert(pattern1 + '\nvs\n' + pattern2);
 				// Run a diff to get a framework of equivalent indicies.
 				diff = this.dmp.diff_main(pattern1, pattern2, false);

				cursor.startOffset - padLength);
		if (cursorStartPoint !== null) {
			pattern2 = newText.substring(cursorStartPoint,
                                                 					cursorStartPoint + pattern1.length);
			//alert(pattern1 + '\nvs\n' + pattern2);
			// Run a diff to get a framework of equivalent indicies.
			diff = this.dmp.diff_main(pattern1, pattern2, false);

				diff = false
				if @_last_pending.length is curr_pending.length
					for x in @_last_pending
						if curr_pending.indexOf(x) is -1
							diff = true
				else
					diff = true
			if diff
