(cm)
| 448 | } |
| 449 | |
| 450 | function atInterestingExpression(cm) { |
| 451 | var pos = cm.getCursor("end"), tok = cm.getTokenAt(pos); |
| 452 | if (tok.start < pos.ch && tok.type == "comment") return false; |
| 453 | return /[\w)\]]/.test(cm.getLine(pos.line).slice(Math.max(pos.ch - 1, 0), pos.ch + 1)); |
| 454 | } |
| 455 | |
| 456 | // Variable renaming |
| 457 |