| 367 | } |
| 368 | |
| 369 | void CellBuffer::GetStyleRange(unsigned char *buffer, int position, int lengthRetrieve) const { |
| 370 | if (lengthRetrieve < 0) |
| 371 | return; |
| 372 | if (position < 0) |
| 373 | return; |
| 374 | if ((position + lengthRetrieve) > style.Length()) { |
| 375 | Platform::DebugPrintf("Bad GetStyleRange %d for %d of %d\n", position, |
| 376 | lengthRetrieve, style.Length()); |
| 377 | return; |
| 378 | } |
| 379 | style.GetRange(reinterpret_cast<char *>(buffer), position, lengthRetrieve); |
| 380 | } |
| 381 | |
| 382 | const char *CellBuffer::BufferPointer() { |
| 383 | return substance.BufferPointer(); |
no test coverage detected