(&self, _max_length: i32)
| 524 | } |
| 525 | |
| 526 | fn GetText(&self, _max_length: i32) -> Result<BSTR> { |
| 527 | // The Microsoft docs imply that the provider isn't _required_ |
| 528 | // to truncate text at the max length, so we just ignore it. |
| 529 | self.read(|range| { |
| 530 | let mut result = WideString::default(); |
| 531 | range.write_text(&mut result).unwrap(); |
| 532 | Ok(result.into()) |
| 533 | }) |
| 534 | } |
| 535 | |
| 536 | fn Move(&self, unit: TextUnit, count: i32) -> Result<i32> { |
| 537 | self.write(|range| { |
nothing calls this directly
no test coverage detected