Help on boatbomber's highlighter module

Hey everyone!
The title says it all, I’m having issues with @boatbomber 's highlighter module.

I’ve tried editing the source inside the module script a few times, but failed.
I believe it has to do with the scrolling frame resize script;

local module = {}

function resize(linesBox, textBox, scrollBox)
	local lines = 1
	linesBox.Text = ""

	textBox.Text:gsub("\n", function()
		lines = lines + 1

	for i = 1, lines do
		linesBox.Text = linesBox.Text .. i .. "\n"

	scrollBox.CanvasSize =, textBox.TextBounds.X, 0.1, textBox.TextBounds.Y)

function module:update(linesBox, textBox, scrollBox)
	resize(linesBox, textBox, scrollBox)
		resize(linesBox, textBox, scrollBox)

return module

If anyone can help with this, I would be very appreciated! :slightly_smiling_face:

Bumping as it’s been almost half an hour :sweat:

Just asking- are you using AutomaticSize by any chance? You need to find the highlight and enable the same settings.