Added support for (text) cursors