IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
1112 | 1112 | isPendingFocus = true; |
1113 | 1113 | else if ( win ) |
1114 | 1114 | { |
| 1115 | var sel = editor.getSelection(), |
| 1116 | ieSel = sel && sel.getNative(); |
| 1117 | |
| 1118 | // IE considers control-type element as separate |
| 1119 | // focus host when selected, avoid destroying the |
| 1120 | // selection in such case. (#5812) (#8949) |
| 1121 | if ( ieSel && ieSel.type == 'Control' ) |
| 1122 | return; |
| 1123 | |
1115 | 1124 | // AIR needs a while to focus when moving from a link. |
1116 | 1125 | CKEDITOR.env.air ? setTimeout( function () { win.focus(); }, 0 ) : win.focus(); |
1117 | 1126 | editor.selectionChange(); |