IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 779 | 779 | { |
| 780 | 780 | if ( CKEDITOR.env.gecko ) |
| 781 | 781 | { |
| 782 | | var scroll = domWindow.getScrollPosition(); |
| | 782 | var body = domDocument.getBody(); |
| | 783 | |
| 783 | 784 | // Page up/down cause editor selection to leak |
| 784 | 785 | // outside of editable thus we try to intercept |
| 785 | 786 | // the behavior, while it affects only happen |
| 786 | 787 | // when editor contents are not overflowed. (#7955) |
| 787 | | if ( !scroll.y ) |
| | 788 | if ( domWindow.$.innerHeight > body.$.offsetHeight ) |
| 788 | 789 | { |
| 789 | | var body = domDocument.getBody(); |
| 790 | 790 | range = new CKEDITOR.dom.range( domDocument ); |
| 791 | 791 | range[ keyCode == 33 ? 'moveToElementEditStart' : 'moveToElementEditEnd']( body ); |
| 792 | 792 | range.select(); |