Show
Ignore:
Timestamp:
2007-07-06 06:57:34 (18 months ago)
Author:
martinkou
Message:

Fixed #100 : Implemented the 'FCKConfig.EditorAreaStyles' configuration entry.
Improved the replace dialog to scroll into view the matched text in the document.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/dialog/fck_replace.html

    r410 r411  
    294294                range.MoveToBookmark2( matchBookmark ) ; 
    295295                range.Select() ; 
     296                var focus = range._Range.endContainer ; 
     297                while ( focus && focus.nodeType != 1 ) 
     298                        focus = focus.parentNode ; 
     299                if ( focus ) 
     300                focus.scrollIntoView( false ) ; 
    296301                return true; 
    297302        }