I'd like to create a text editor on the device that is able to display and edit large text files... in the megabyte range.
As has been mentioned many times in the forum, the textbox object can only display 64K of text. Any ideas on how to get around this? I could display chunks of text at a time but that makes scroll bar behavior odd because every time I'd go from the end of a chunk to the beginning of a new one, the scroll bar would jump from the bottom to the top. Plus I don't know of a way to detect the position of the scrollbar in a textbox. You know the cursor position but you don't know how the user is scrolling the textbox. The html libraries out there allow larger files but they are not really for editing.
Am I missing the obvious? Shouldn't seem like this should be hard to do.
Thanks
As has been mentioned many times in the forum, the textbox object can only display 64K of text. Any ideas on how to get around this? I could display chunks of text at a time but that makes scroll bar behavior odd because every time I'd go from the end of a chunk to the beginning of a new one, the scroll bar would jump from the bottom to the top. Plus I don't know of a way to detect the position of the scrollbar in a textbox. You know the cursor position but you don't know how the user is scrolling the textbox. The html libraries out there allow larger files but they are not really for editing.
Am I missing the obvious? Shouldn't seem like this should be hard to do.
Thanks