mirror of https://github.com/rivo/tview.git
Move TabSize comment in texview.go back to where it belongs.
This commit is contained in:
parent
f4690e43a0
commit
f3b5afb8cd
|
@ -12,12 +12,12 @@ import (
|
||||||
runewidth "github.com/mattn/go-runewidth"
|
runewidth "github.com/mattn/go-runewidth"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TabSize is the number of spaces with which a tab character will be replaced.
|
|
||||||
var (
|
var (
|
||||||
openColorRegex = regexp.MustCompile(`\[([a-zA-Z]*|#[0-9a-zA-Z]*)$`)
|
openColorRegex = regexp.MustCompile(`\[([a-zA-Z]*|#[0-9a-zA-Z]*)$`)
|
||||||
openRegionRegex = regexp.MustCompile(`\["[a-zA-Z0-9_,;: \-\.]*"?$`)
|
openRegionRegex = regexp.MustCompile(`\["[a-zA-Z0-9_,;: \-\.]*"?$`)
|
||||||
newLineRegex = regexp.MustCompile(`\r?\n`)
|
newLineRegex = regexp.MustCompile(`\r?\n`)
|
||||||
|
|
||||||
|
// TabSize is the number of spaces with which a tab character will be replaced.
|
||||||
TabSize = 4
|
TabSize = 4
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue