Module conrod::text::cursor
[−]
[src]
Logic related to the positioning of the cursor within text.
Structs
Index |
An index representing the position of a cursor within some text. |
Xs |
Each possible cursor position along the x axis within a line of text. |
XysPerLine |
Every possible cursor position within each line of text yielded by the given iterator. |
XysPerLineFromText |
Similarly to |
Functions
closest_cursor_index_and_xy |
Find the closest cursor index to the given |
closest_cursor_index_on_line |
Find the closest cursor index to the given |
closest_line |
Find the closest line for the given |
index_before_char |
Convert the given character index into a cursor |
xy_at |
Determine the xy location of the cursor at the given cursor |
xys_per_line |
Every possible cursor position within each line of text yielded by the given iterator. |
xys_per_line_from_text |
Similarly to |