From f6d56dba8934b6a4a5f681971416577773f0694d Mon Sep 17 00:00:00 2001 From: Chris Waldon Date: Tue, 10 Jan 2023 12:17:35 -0500 Subject: [PATCH] widget: drop obsolete comment fragment Signed-off-by: Chris Waldon --- widget/text.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/widget/text.go b/widget/text.go index 5c1efd83..b0ae9d22 100644 --- a/widget/text.go +++ b/widget/text.go @@ -476,9 +476,6 @@ func (e *textView) invalidate() { // Replace the text between start and end with s. Indices are in runes. // It returns the number of runes inserted. -// addHistory controls whether this modification is recorded in the undo -// history. Replace can modify text in positions unrelated to the cursor -// position. func (e *textView) Replace(start, end int, s string) int { if start > end { start, end = end, start