Paste Data Limitation in GH Panel?

I’m trying to paste some Gcode into a GH Panel. Long story short, I am pasting Gcode generated in RoboDK and then using GH to restructure the code in a file that our old robot can understand.

I am having limits in the amount of data I can paste into a panel - for example pasting from the attached file (which is 5000 lines long) - only 514 lines are pasted into GH. Curve-Thilo.txt (345.5 KB)

Using a c# component to upload and read text files worked, but Ideally I would be able to paste Gcode directly into grasshopper



Grasshopper is very, very far from the best choice for manipulating text! Any other programming language will do it better, including Javascript, PHP and most other conventional languages.