Draws a text caret using @snapshot at the specified index of @layout.
a GtkStyleContext
X origin
Y origin
the PangoLayout of the text
the index in the #PangoLayout
the #PangoDirection of the text
See Implementation
Draws a text caret using @snapshot at the specified index of @layout.