in reply to Re: Tk Scrolled Text and Large Files
in thread Tk Scrolled Text and Large Files
My apologies my data sample did not display properly even though I used the \<code\>\</code\> tags!
The program I am working on converts data from different formats. I am not using a back-end database or data structures to capture this data. Essentially it's a scheme where raw data is converted and displayed dynamically in a scrollable text widget. Sometimes, the source data tends to be huge and takes a long time to load or convert.
I have implemented a limit to display only a certain number of bytes when files are loaded in the text widget. The problem is when the user performs the conversion to save the modified data. I guess I have to change the logic to capture this information in some kind of data structure as the Illustrious Zentara suggested for saving at a later point. I just was not sure if there is a more efficient approach to achieving this in Perl/Tk.
I really appreciate your help.