| 256 | } |
| 257 | |
| 258 | TextPosition MockEditorInterface::get_active_document_length( |
| 259 | ) const { |
| 260 | auto doc = active_document(); |
| 261 | if (!doc) |
| 262 | return -1; |
| 263 | return static_cast<TextPosition>(doc->cur.data.length()); |
| 264 | } |
| 265 | |
| 266 | TextPosition MockEditorInterface::get_line_length(int line) const { |
| 267 | size_t index = 0; |
no outgoing calls
no test coverage detected