Clean up editor.reportStatus()
diff --git a/bundles/org.eclipse.orion.client.core/web/edit/setup.js b/bundles/org.eclipse.orion.client.core/web/edit/setup.js
index 5d525ec..2a78011 100644
--- a/bundles/org.eclipse.orion.client.core/web/edit/setup.js
+++ b/bundles/org.eclipse.orion.client.core/web/edit/setup.js
@@ -433,16 +433,15 @@
 		});
 	};
 	
-	var statusReporter = function(message, isError, isProgress) {
-		if(isProgress){
+	var statusReporter =  function(message, type) {
+		if (type === "progress") {
 			statusReportingService.setProgressMessage(message);
-		} else if (isError) {
-			statusReportingService.setErrorMessage(message);	
+		} else if (type === "error") {
+			statusReportingService.setErrorMessage(message);
 		} else {
-			statusReportingService.setMessage(message);	
+			statusReportingService.setMessage(message);
 		}
 	};
-
 	var annotationFactory = new mEditorFeatures.AnnotationFactory();
 	
 	var editor = new mEditor.Editor({
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/searchAndReplace/orionTextSearchAdaptor.js b/bundles/org.eclipse.orion.client.core/web/orion/searchAndReplace/orionTextSearchAdaptor.js
index 7857cdb..504f367 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/searchAndReplace/orionTextSearchAdaptor.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/searchAndReplace/orionTextSearchAdaptor.js
@@ -47,28 +47,28 @@
 		},
 		
 		adaptReplaceAllStart: function(){
-			this._editor.reportStatus("", false);
-			this._editor.reportStatus("Replacing all...", false, true);
+			this._editor.reportStatus("");
+			this._editor.reportStatus("Replacing all...", "progress");
 		},
 		
 		adaptReplaceAllEnd: function(succeed, number){
-			this._editor.reportStatus("", false, true);
+			this._editor.reportStatus("", "progress");
 			if(succeed) {
-				this._editor.reportStatus("Replaced "+number+" matches", false);
+				this._editor.reportStatus("Replaced "+number+" matches");
 			} else {
-				this._editor.reportStatus("Nothing replaced", true);
+				this._editor.reportStatus("Nothing replaced", "error");
 			}
 		},
 		
 		adaptFind: function(startIndex, endIndex, reverse, callBack, noStatus) {
 			if(startIndex === -1){
 				if(!noStatus) {
-					this._editor.reportStatus("Not found", true);
+					this._editor.reportStatus("Not found", "error");
 				}
 			}
 			else {
 				if(!noStatus) {
-					this._editor.reportStatus("", false);
+					this._editor.reportStatus("");
 				}
 				this._editor.moveSelection(startIndex, endIndex, callBack);
 			}
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js
index bc34405..5850e34 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js
@@ -91,11 +91,11 @@
 		/**
 		 * @private
 		 */
-		reportStatus: function(message, isError, isProgress) {
+		reportStatus: function(message, type) {
 			if (this._statusReporter) {
-				this._statusReporter(message, isError, isProgress);
+				this._statusReporter(message, type);
 			} else {
-				window.alert(isError ? "ERROR: " + message : message);
+				window.alert(type === "error" ? "ERROR: " + message : message);
 			}
 		},
 		
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/editorFeatures.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/editorFeatures.js
index 6f8ac2b..38d3462 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/editorFeatures.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/editorFeatures.js
@@ -122,7 +122,7 @@
 							editor.moveSelection(result.index, result.index+result.length);
 							self._incrementalFindIgnoreSelection = false;
 						} else {
-							editor.reportStatus("Incremental find: " + prefix + " (not found)", true);
+							editor.reportStatus("Incremental find: " + prefix + " (not found)", "error");
 							self._incrementalFindSuccess = false;
 						}
 						e.text = null;
@@ -211,7 +211,7 @@
 							this._incrementalFindIgnoreSelection = false;
 							editor.reportStatus("Incremental find: " + prefix);
 						} else {
-							editor.reportStatus("Incremental find: " + prefix + " (not found)", true);
+							editor.reportStatus("Incremental find: " + prefix + " (not found)", "error");
 							this._incrementalFindSuccess = false;
 						}
 					}
@@ -241,7 +241,7 @@
 						editor.moveSelection(index,index+prefix.length);
 						this._incrementalFindIgnoreSelection = false;
 					} else {
-						editor.reportStatus("Incremental find: " + prefix + " (not found)", true);
+						editor.reportStatus("Incremental find: " + prefix + " (not found)", "error");
 					}
 					return true;
 				}
@@ -509,7 +509,7 @@
 					editor.moveSelection(index, index + prefix.length);
 					this._incrementalFindIgnoreSelection = false;
 				} else {
-					editor.reportStatus("Incremental find: " + prefix + " (not found)", true);	
+					editor.reportStatus("Incremental find: " + prefix + " (not found)", "error");
 					this._incrementalFindSuccess = false;
 				}
 				return true;
@@ -536,7 +536,7 @@
 					this._incrementalFindIgnoreSelection = false;
 					this.editor.reportStatus("Incremental find: " + prefix);
 				} else {
-					editor.reportStatus("Incremental find: " + prefix + " (not found)", true);
+					editor.reportStatus("Incremental find: " + prefix + " (not found)", "error");
 					this._incrementalFindSuccess = false;
 				}
 				return true;