<commit_before>package chaxui

import (
	"fmt"

	"github.com/google/gxui"
	"github.com/google/gxui/gxfont"
	"github.com/google/gxui/math"
)

var _ gxui.ListAdapter = &LinesAdapter{}

type LinesAdapter struct {
	gxui.AdapterBase
	lines []string
}

func (a *LinesAdapter) Set(lines []string) {
	a.lines = lines
	a.DataChanged()
}

func (a *LinesAdapter) Append(lines ...string) {
	a.lines = append(a.lines, lines...)
	a.DataChanged()
}<commit_msg>Note where controller vs framework adapter.<commit_after>package chaxui

import (
	"fmt"

	"github.com/google/gxui"
	"github.com/google/gxui/gxfont"
	"github.com/google/gxui/math"
)

var _ gxui.ListAdapter = &LinesAdapter{}

type LinesAdapter struct {
	gxui.AdapterBase
	lines []string
}

func (a *LinesAdapter) Set(lines []string) {
	a.lines = lines
	a.DataChanged()
}

func (a *LinesAdapter) Append(lines ...string) {
	a.lines = append(a.lines, lines...)
	a.DataChanged()
}

// BELOW LIETH FRAMEWORKIA
{'fraction_non_alphanumeric': 0.15084388185654007, 'fraction_numerical': 0.0, 'mean_word_length': 4.214285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1829544', 'n_tokens_mistral': 374, 'n_tokens_neox': 369, 'n_words': 74}