MCPcopy Index your code
hub / github.com/codechenx/FastTableViewer / buildCursorPosStr

Function buildCursorPosStr

ui.go:14–17  ·  view source on GitHub ↗

buildCursorPosStr builds the cursor position string (without filter info now)

(row, column int)

Source from the content-addressed store, hash-verified

12
13// buildCursorPosStr builds the cursor position string (without filter info now)
14func buildCursorPosStr(row, column int) string {
15 posStr := "Column Type: " + type2name(b.getColType(column)) + " | " + strconv.Itoa(row) + "," + strconv.Itoa(column) + " "
16 return posStr
17}
18
19// buildFilterInfoStr builds the filter information string for the top strip
20// Shows all active filters or current column filter when cursor is on a filtered column

Callers 1

drawUIFunction · 0.85

Calls 2

type2nameFunction · 0.85
getColTypeMethod · 0.80

Tested by

no test coverage detected