Changeset 241

Show
Ignore:
Timestamp:
06/23/05 07:39:35 (8 years ago)
Author:
gocher
Message:

Ticket #354
Status Bar Select is broken

When selecting a tag on the status bar, it does not select the entire tag in the editor anymore, the selection just jumps to the end of the tag.

Fixed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r239 r241  
    31153115      range = this._doc.body.createTextRange(); 
    31163116      range.moveToElementText(node); 
    3117       (collapsed) && range.collapse(pos); 
     3117      //(collapsed) && range.collapse(pos); 
    31183118    } 
    31193119    range.select(); 
     
    31293129    { 
    31303130      range.selectNodeContents(node); 
    3131       (collapsed) && range.collapse(pos); 
     3131      //(collapsed) && range.collapse(pos); 
    31323132    } 
    31333133    sel.removeAllRanges();