nextRangeWalker,\r
cursors = this._.cursors;\r
\r
- if ( ( lastCursor = cursors[ cursors.length - 1 ] ) )\r
+ if ( ( lastCursor = cursors[ cursors.length - 1 ] ) && lastCursor.textNode )\r
nextRangeWalker = new characterWalker( getRangeAfterCursor( lastCursor ) );\r
// In case it's an empty range (no cursors), figure out next range from walker (#4951).\r
else\r