IndentLine returns the indentation level for given line based on previous line's indentation level, and any delta change based on e.g., brackets starting or ending the previous or current line, or other language-specific keywords. See lexer.BracketIndentLine for example. Indent level is in incremen
(fs *FileStates, src [][]rune, tags []lexer.Line, ln int, tabSz int)
| 75 | // Indent level is in increments of tabSz for spaces, and tabs for tabs. |
| 76 | // Operates on rune source with markup lex tags per line. |
| 77 | IndentLine(fs *FileStates, src [][]rune, tags []lexer.Line, ln int, tabSz int) (pInd, delInd, pLn int, ichr indent.Character) |
| 78 | |
| 79 | // AutoBracket returns what to do when a user types a starting bracket character |
| 80 | // (bracket, brace, paren) while typing. |
no outgoing calls
no test coverage detected