| 78 | | unsigned int chars; /**< Number of characters in the text */ |
| 79 | | unsigned int bytes; /**< Number of bytes in the text */ |
| 80 | | unsigned int max_chars; /**< Maximal number of characters in the text */ |
| 81 | | } length; /**< Different text lengths */ |
| 82 | | |
| 83 | | unsigned int total_size; /**< The total size we've alloc'd for text */ |
| 84 | | unsigned int cursor_position; /**< The cursor position */ |
| | 78 | unsigned int chars; /**< Number of characters in the text */ |
| | 79 | unsigned int bytes; /**< Number of bytes in the text */ |
| | 80 | unsigned int max_chars; /**< Maximal number of characters in |
| | 81 | the text */ |
| | 82 | } length; /**< Different text lengths */ |
| | 83 | |
| | 84 | unsigned int total_size; /**< The total size we've alloc'd for text */ |
| | 85 | unsigned int cursor_position; /**< The cursor position */ |
| 98 | | int x; /**< X offset for layout */ |
| 99 | | int y; /**< Y offset for layout */ |
| 100 | | } offset; /**< Layout offset values */ |
| 101 | | |
| 102 | | unsigned char delete_count; /**< Number of deletes */ |
| 103 | | unsigned char in_select; /**< Are we in select mode? */ |
| 104 | | |
| 105 | | unsigned char selectable; /**< Is the text selectable? */ |
| 106 | | unsigned char dirty; /**< Does the text need layout? */ |
| | 99 | int x; /**< X offset for layout */ |
| | 100 | int y; /**< Y offset for layout */ |
| | 101 | } offset; /**< Layout offset values */ |
| | 102 | |
| | 103 | unsigned char delete_count; /**< Number of deletes */ |
| | 104 | unsigned char in_select; /**< Are we in select mode? */ |
| | 105 | |
| | 106 | unsigned char selectable; /**< Is the text selectable? */ |
| | 107 | unsigned char dirty; /**< Does the text need layout? */ |