I wonder if exploring how some applications such as text editors implement undo history might not offer something enlightening. Now granted most of them(if not all) don't save it on disk, only the text in it's final form, but I figured this an interesting thought anyways.
AesynthGrey As of right now, when I press the "load" button, it just says null. Why?
I do not see where the load_data() function is defined or what it's internal logic is so I can't answer that. edit1: doh, didn't scroll down, reading it now.
edit2: I don't see where you assign anything to textInput1
other than the empty string assignment towards the top of the script/at the variable definition.
Er, the _on_LoadButton_pressed(): itself seems to be where the assignment is supposed to happen, but reading the docs I think you want to use the String.format() method if you want to work with arrays.
Or maybe it's as simple as assigning "%s" as the default value in the variable definition in the first place..?