| 20 | #include <cassert> |
| 21 | |
| 22 | POINT EditorInterface::get_point_from_position(TextPosition position) const { |
| 23 | return {get_point_x_from_position(position), |
| 24 | get_point_y_from_position(position)}; |
| 25 | } |
| 26 | |
| 27 | TextPosition EditorInterface::get_prev_valid_begin_pos(TextPosition pos) const { |
| 28 | if (pos == 0) |