| 476 | } |
| 477 | |
| 478 | int CellBuffer::LineStart(int line) const { |
| 479 | if (line < 0) |
| 480 | return 0; |
| 481 | else if (line >= Lines()) |
| 482 | return Length(); |
| 483 | else |
| 484 | return lv.LineStart(line); |
| 485 | } |
| 486 | |
| 487 | bool CellBuffer::IsReadOnly() const { |
| 488 | return readOnly; |