IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
972 | 972 | joinNextLineToCursor( editor, cursor, range ); |
973 | 973 | evt.cancel(); |
974 | 974 | } |
| 975 | else |
| 976 | { |
| 977 | var list = path.contains( listNodeNames ), li; |
| 978 | |
| 979 | // Backspace pressed at the start of list. (#9129) |
| 980 | if ( list && range.checkBoundaryOfElement( list, CKEDITOR.START ) ) |
| 981 | { |
| 982 | li = path.contains( CKEDITOR.dtd.$listItem ); |
| 983 | |
| 984 | // Outdent if inside of empty list item. |
| 985 | if ( range.checkBoundaryOfElement( li, CKEDITOR.START ) && |
| 986 | range.checkBoundaryOfElement( li, CKEDITOR.END ) ) |
| 987 | { |
| 988 | editor.execCommand( 'outdent' ); |
| 989 | evt.cancel(); |
| 990 | } |
| 991 | // Avoid destroying the list if it gets no contents before. |
| 992 | else if ( !list.getPrevious( nonEmpty ) ) |
| 993 | evt.cancel(); |
| 994 | } |
| 995 | } |
975 | 996 | } |
976 | 997 | else |
977 | 998 | { |