()
| 785 | } |
| 786 | |
| 787 | func (buffer *Buffer) GetMaxLines() uint64 { |
| 788 | result := buffer.maxLines |
| 789 | if result < uint64(buffer.viewHeight) { |
| 790 | result = uint64(buffer.viewHeight) |
| 791 | } |
| 792 | |
| 793 | return result |
| 794 | } |
| 795 | |
| 796 | func (buffer *Buffer) setVerticalMargins(top uint, bottom uint) { |
| 797 | buffer.topMargin = top |
no outgoing calls
no test coverage detected