diff --git a/org.eclipse.compare/META-INF/MANIFEST.MF b/org.eclipse.compare/META-INF/MANIFEST.MF
index 59b0f43..a9979e0 100644
--- a/org.eclipse.compare/META-INF/MANIFEST.MF
+++ b/org.eclipse.compare/META-INF/MANIFEST.MF
@@ -21,7 +21,7 @@
  e.internal.merge;x-internal:=true,org.eclipse.compare.internal.patch;
  x-internal:=true,org.eclipse.compare.patch,org.eclipse.compare.struct
  uremergeviewer
-Bundle-Version: 3.5.301.v20130125-135424
+Bundle-Version: 3.5.302.v20130125-135424
 Bundle-ActivationPolicy: lazy
 Bundle-Vendor: %providerName
 Bundle-Name: %pluginName
diff --git a/org.eclipse.compare/src/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java b/org.eclipse.compare/src/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java
index 77dd1a5..269a1dd 100644
--- a/org.eclipse.compare/src/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java
+++ b/org.eclipse.compare/src/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java
@@ -817,7 +817,7 @@
 
 				newDoc= new Document(s != null ? s : ""); //$NON-NLS-1$
 			}
-			return newDoc;
+			return customizeDocument(newDoc);
 		}
 
 		/**
@@ -5324,4 +5324,13 @@
 		getCompareConfiguration().setProperty(key, null);
 	}
 
+	/**
+	 * Create custom document for the client
+	 * 
+	 * @param document
+	 * @return custom document
+	 */
+	protected IDocument customizeDocument(IDocument document) {
+		return document;
+	}
 }