Added support for cursormark