Changeset 8873
Legend:
- Unmodified
- Added
- Removed
-
trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_textPrim/xedUi/text.xbl.xml
r8556 r8873 3395 3395 } 3396 3396 this.fHTMLEditor.doTransaction(vTrans); 3397 this.fRichTextInput.setDirty(true); 3397 3398 } 3398 3399 }finally { … … 3467 3468 if(vStart > 0){ 3468 3469 var vPrevCharCode = vNode.data.charCodeAt(vStart - 1); 3469 if(vPrevCharCode == 160) return; //Espace inséccable déjà là, comportement normal 3470 //Espace inséccable déjà là ou protocole, comportement normal 3471 if(vPrevCharCode == 160 || ( vCar==58 && /\bmailto$|\b(ht|s?f)tp(s?)$/.test(vNode.data)) ) return; 3470 3472 var vTrans = { 3471 3473 doTransaction : function(){ … … 3486 3488 this.doTransaction(); 3487 3489 }, 3490 isTransient : false, 3491 merge : function(pTrans){return false;} 3488 3492 } 3489 3493 this.fHTMLEditor.doTransaction(vTrans); -
trunk/Xul_XedLib/chrome/content/scenarixedlib/core/xed.js
r8861 r8873 1995 1995 if( ! vSel.isCollapsed) vEditor.deleteSelection(0); 1996 1996 var vPrevCharCode = vNode.data.charCodeAt(vStart - 1); 1997 if(vPrevCharCode == 160) return; //Espace inséccable déjà là, comportement normal 1997 //Espace inséccable déjà là ou protocole précédant uun ":", comportement normal 1998 if(vPrevCharCode == 160 || ( vCar==58 && /\bmailto$|\b(ht|s?f)tp(s?)$/.test(vNode.data)) ) return; 1998 1999 var vTrans = { 1999 2000 doTransaction : function(){
Note: See TracChangeset
for help on using the changeset viewer.