Changeset 707
- Timestamp:
- 01/30/07 13:09:44 (6 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
XinhaCore.js (modified) (1 diff)
-
modules/Gecko/Gecko.js (modified) (2 diffs)
-
modules/InternetExplorer/InternetExplorer.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r704 r707 2371 2371 } 2372 2372 }; 2373 //Control character for retaining edit location when switching modes2374 Xinha.prototype.cc = String.fromCharCode(173);2375 2373 2376 2374 // Switches editor mode; parameter can be "textmode" or "wysiwyg". If no -
trunk/modules/Gecko/Gecko.js
r703 r707 655 655 }; 656 656 657 //Control character for retaining edit location when switching modes 658 Xinha.prototype.cc = String.fromCharCode(173); 659 657 660 Xinha.prototype.setCC = function ( target ) 658 661 { … … 673 676 else 674 677 { 675 var sel = this. _getSelection();678 var sel = this.getSelection(); 676 679 sel.getRangeAt(0).insertNode( document.createTextNode( this.cc ) ); 677 680 } -
trunk/modules/InternetExplorer/InternetExplorer.js
r706 r707 401 401 }; 402 402 403 // Control character for retaining edit location when switching modes 404 Xinha.prototype.cc = String.fromCharCode(0x2009); 405 403 406 Xinha.prototype.setCC = function ( target ) 404 407 {
