Opened 8 years ago

Closed 8 years ago

#1316 closed defect (fixed)

In InternetExplorer, the cursor is lost when switching into source mode

Reported by: guest Owned by:
Priority: normal Milestone: 0.96
Component: Browsers_InternetExplorer Version: trunk
Severity: normal Keywords:
Cc:

Description

if You switch between the modes in IE7 the is no visible Cursor

Xinha.prototype.findCC = function ( target )
{
...
  if( range.findText( escape(Xinha.cc) ) )
  {
    range.select();
    range.text = '';
    range.select(); //<-- insert this line
  }
  if( range.findText( Xinha.cc ) )
  {
    range.select();
    range.text = '';
    range.select(); //<-- insert this line
  }
  if ( target == 'textarea' ) this._textArea.focus();
};

Gocher

Change History (4)

comment:1 Changed 8 years ago by douglas

  • Summary changed from InternetExplorer.js: findCC doesn't work to In InternetExplorer, the cursor is lost when switching into source mode

comment:2 Changed 8 years ago by douglas

This fix works as tested in IE8, about to test in IE7. In IE6, it's broken...

comment:3 Changed 8 years ago by douglas

Okay, this fix is tested working in IE7 and IE8, now I'm investigating what happens in IE6 (it looks like it's using the wrong documetn reference...)

comment:4 Changed 8 years ago by douglas

  • Resolution set to fixed
  • Status changed from new to closed

r1148 fixes this by applying the patch. There are some issues with IE6 and IE8 beta, but this patch neither created those bugs, nor does it affect those bugs. Two new bugs have been filed to deal with those two issues...

Note: See TracTickets for help on using tickets.