r1624 - branches/bxe_2_0/mozile

[email protected] Fri, 10 Nov 2006 11:46:04 +0100 (CET)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Fri Nov 10 11:46:04 2006
New Revision: 1624

Modified:
   branches/bxe_2_0/mozile/mozCE.js
Log:
improvement in backspace code

Modified: branches/bxe_2_0/mozile/mozCE.js
==============================================================================
--- branches/bxe_2_0/mozile/mozCE.js	(original)
+++ branches/bxe_2_0/mozile/mozCE.js	Fri Nov 10 11:46:04 2006
@@ -427,11 +427,13 @@
 			}
 		}
 	}
-
-	// this.selectEditableRange(cssr);
-	this.removeAllRanges();
-	this.addRange(cssr.cloneRange());
+	
+	//this.selectEditableRange(cssr);
+	/**/
 	if (doTransform) {
+		this.removeAllRanges();
+		this.addRange(cssr.cloneRange());
+		
 		bxe_Transform();
 	}
 	
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs