Skip to content

Commit

Permalink
Update oviewer/document.go
Browse files Browse the repository at this point in the history
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
  • Loading branch information
noborus and ccoVeille authored Dec 29, 2024
1 parent 6063da6 commit e3fad6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oviewer/document.go
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ func (m *Document) setColumnWidths() {
}

// GetLine returns one line from buffer.
// Deprecated: Use LineString instead.
// Deprecated: Use [Document.LineString] instead.
func (m *Document) GetLine(n int) string {
s, err := m.Line(n)
if err != nil {
Expand All @@ -610,7 +610,7 @@ func (m *Document) GetLine(n int) string {
}

// LineString returns one line from buffer.
// Deprecated: Use LineStr instead.
// Deprecated: Use [Document.LineStr] instead.
func (m *Document) LineString(n int) string {
str, _ := m.LineStr(n)
return str
Expand Down

0 comments on commit e3fad6d

Please sign in to comment.