Changeset 707 for trunk/modules/Gecko


Ignore:
Timestamp:
01/30/07 13:09:44 (13 years ago)
Author:
ray
Message:

see Ticket #900 retain editing position position between modes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/Gecko/Gecko.js

    r703 r707  
    655655}; 
    656656 
     657//Control character for retaining edit location when switching modes 
     658Xinha.prototype.cc = String.fromCharCode(173);  
     659 
    657660Xinha.prototype.setCC = function ( target ) 
    658661{ 
     
    673676  else 
    674677  { 
    675     var sel = this._getSelection(); 
     678    var sel = this.getSelection(); 
    676679    sel.getRangeAt(0).insertNode( document.createTextNode( this.cc ) ); 
    677680  } 
Note: See TracChangeset for help on using the changeset viewer.