Lines Matching refs:groups
81 func addLine(groups *[]lineGroup, line string, column int) {
82 if len(*groups) == 0 || (*groups)[len(*groups)-1].column != column {
83 *groups = append(*groups, lineGroup{column, nil})
85 (*groups)[len(*groups)-1].lines = append((*groups)[len(*groups)-1].lines, line)
104 var groups []lineGroup
110 addLine(&groups, line, -1)
133 addLine(&groups, l, -1)
144 addLine(&groups, line, -1)
161 addLine(&groups, l, column)
169 addLine(&groups, l, -1)
181 addLine(&groups, line, -1)
200 addLine(&groups, line[:endIdx], idx)
208 for _, group := range groups {