From d795fb21dddfb329ad244aec588a353b796dda52 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Thu, 14 May 2026 21:47:50 -0500 Subject: [PATCH] NumLines already exists --- TODO.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/TODO.md b/TODO.md index 851146f8..7d140375 100644 --- a/TODO.md +++ b/TODO.md @@ -1808,20 +1808,6 @@ just doesn't have the storage. Re-investigate if a low-collision path emerges (e.g. a write site we haven't seen in 1.12 that already preserves the string). -## 62. `GameTooltip:NumLines()` — trivial if reachable - -Returns the count of FontStrings currently rendered in the -tooltip. The frame internally maintains a list of lines (it has -to, for layout). If there's a count field, this is a single -deref + push. - -Investigation: dump the GameTooltip frame instance after -`AddLine` calls and look for an integer that increments. Probably -near the FontStrings array pointer. - -Useful for tooltip-parsing addons that want to walk all lines -without iterating until `_GetTooltipLine(i)` returns nil. - ## ~~65. `hooksecurefunc(name|table, [name,] callback)`~~ — DONE Shipped as [src/HookSecureFunc.cpp](src/HookSecureFunc.cpp). Pure C