[dev-overlay] solidate the line number parsing (#78868)
### What Enhance the line break solution of dev overlay code frame from #77078 We parse the tokens and group them into lines by detect the line break token. There's a missing case we didn't notice before where the line break token could contain spaces look like below:  * The content before `\n` should belong to previous line * The content after `\n` should belong to the next line Also improved the memoization situation in the code frame to avoid re-parsing the lines and tokens. Closes NDX-1042
Showing
Please
register
or
sign in
to comment