314 | | if ( !( lastCursor = cursors[ cursors.length - 1 ] ) ) |
315 | | return null; |
316 | | return new characterRange( |
317 | | new characterWalker( |
318 | | getRangeAfterCursor( lastCursor ) ), |
319 | | maxLength ); |
| 315 | |
| 316 | if ( ( lastCursor = cursors[ cursors.length - 1 ] ) ) |
| 317 | nextRangeWalker = new characterWalker( getRangeAfterCursor( lastCursor ) ); |
| 318 | // In case it's an empty range (no cursors), figure out next range from walker (#4951). |
| 319 | else |
| 320 | nextRangeWalker = this._.walker; |
| 321 | |
| 322 | return new characterRange( nextRangeWalker, maxLength ); |