(cm)
| 9084 | } |
| 9085 | |
| 9086 | function killRegion(cm) { |
| 9087 | if (cm.somethingSelected()) { |
| 9088 | var selections = cm.listSelections(), selection; |
| 9089 | var i = selections.length; |
| 9090 | while (i--) { |
| 9091 | selection = selections[i]; |
| 9092 | kill(cm, selection.anchor, selection.head); |
| 9093 | } |
| 9094 | return true; |
| 9095 | } |
| 9096 | } |
| 9097 | |
| 9098 | function addPrefix(cm, digit) { |
| 9099 | if (cm.state.emacsPrefix) { |
no test coverage detected