Restored from previous forum. Originally posted by searhin.
Hi all,
I wrote a little application which has to handle long user-editable texts. Currently i am using MultiLine StringGadgets. I can paste long texts (>>10000 characters) from the clipboard and edit these in the StringGadget, but when i try to recover the changed text by GetGadgetText, i get only about 4500-5000 characters in return, the remainder being cut off.
Why's that so?
Is there a better solution to recover long texts??
Thanx, Searhin
long text & GetGadgetText/StringGadget
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Pupil.
This was reported some time ago, the gettext command is restricted to only 5kB, i think this is an old leftover since the time PB only supported 5kB strings or something (search the forum for more info on this). Anyway Fred is aware of it and i think he said he was gonna fix it in the next update..
This was reported some time ago, the gettext command is restricted to only 5kB, i think this is an old leftover since the time PB only supported 5kB strings or something (search the forum for more info on this). Anyway Fred is aware of it and i think he said he was gonna fix it in the next update..
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm