Ran go fmt *.go on all sources

This commit is contained in:
Luke I. Wilson
2021-04-04 13:15:31 -05:00
parent e115855491
commit 3982628653
11 changed files with 78 additions and 79 deletions

View File

@@ -4,9 +4,9 @@ import (
"errors"
"flag"
"fmt"
"log"
"io/fs"
"io/ioutil"
"log"
"os"
"runtime"
"runtime/pprof"

View File

@@ -62,7 +62,6 @@ type Buffer interface {
// the last rune before the line delimiter.
ClampLineCol(line, col int) (int, int)
// LineColToPos returns the index of the byte at line, col. If line is less than
// zero, or more than the number of available lines, the function will panic. If
// col is less than zero, the function will panic. If col is greater than the

View File

@@ -23,7 +23,7 @@ func (c *Colorscheme) GetStyle(s Syntax) tcell.Style {
}
}
return tcell.StyleDefault; // No value for Default; use default style.
return tcell.StyleDefault // No value for Default; use default style.
}
type RegexpRegion struct {

View File

@@ -9,9 +9,9 @@ import (
"strings"
"unicode/utf8"
"github.com/mattn/go-runewidth"
"github.com/fivemoreminix/qedit/ui/buffer"
"github.com/gdamore/tcell/v2"
"github.com/mattn/go-runewidth"
)
// A Selection represents a region of the buffer to be selected for text editing