 				if offsets.length > 1
 					cursor['endOffset'] = offsets[1]
 					if cursor['startOffset'] >= cursor['endOffset']
-    					cursor['collapsed'] = true
+						cursor['collapsed'] = true
 				@s._restoreCursor element, cursor
 			else
 				console.log "in regular apply_object_diff"

				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);

					if not ('local' of change)
#                        setTimeout do(change) =>
#                            => @_notify_client change['id'], null, null, null
						@_notify_client change['id'], null, null, null, null

				else if op is 'M'
					s_data = @data.store[id]
