CodeText::None(3pm)

πŸ“¦
version 0.3.4 Β· 2 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Tk::CodeText::None β€” bestie, it's a plugin that does literally no syntax highlighting at all. Zero. Nada. The void. 🫢


✨ SYNOPSIS ✨

require Tk::CodeText::None;
my $hl = new Tk::CodeText::None;
my @line = $hl->highlight($line);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so Tk::CodeText::None is, and I'm being so fr right now, a dummy plugin module. Every single method you'd need to bring highlighting to a Tk::CodeText widget is sitting right there, present and accounted for, ready to do absolutely nothing. πŸ’€

It only ships the methods that Tk::CodeText is actually going to call upon. That's it. That's the whole vibe.

🌸 METHODS 🌸

  • highlight($string) β€” returns an empty list. That's the entire personality. Returns. An. Empty. List. πŸŽ€

Not me dropping the real tea though: the descriptions of the rest of these methods are more of a "here's what they'd do if you were writing your own plugin" situation. These ones genuinely do as little as possible. Lowkey icon behaviour.

  • rules($txtwidget,\@rules) β€” sets and returns a reference to a list of tagnames and options. By default it's set to [ ]. Empty list, no thoughts, head empty. ✨
  • stateCompare(\@state) β€” compares two lists: \@state and the stack. Returns true if they match. Vibe check passed? βœ…
  • stateGet β€” returns a list containing the entire stack. The whole stack, bestie, no gatekeeping. πŸ’…
  • stateSet(@list) β€” accepts @list as the current stack. New stack, who dis. πŸ¦‹
  • syntax β€” returns None.

πŸ‘‘ AUTHOR πŸ‘‘

Hans Jeuken (haje@toneel.demon.nl) β€” tysm for this absolute minimalist masterpiece, we stan. πŸ’œ

πŸ’€ BUGS πŸ’€

Unknown. (A rare and blessed state of affairs, honestly. No cap. πŸ™ˆ)


Heads up, bestie: this module does no highlighting whatsoever. If you were expecting colours, honey, the colours are not coming. πŸ“

And that's the whole page, fr fr β€” perl v5.40.1, dated 2025-05-04, and this little CodeText::None(3pm) said everything it came to say. Slay, stay hydrated, and may your plugins do exactly as little as you need them to. πŸ§šβ­πŸ’–

πŸ“¦ where this page comes from