Pierre Hébert is there a new limitation of characters in script editor?
Pierre Hébert is there a new limitation of characters in script editor? A very long script I used before LL 14 is now cut off a the end and I can’t fill in more characters than 10500.
]]>
« Is there any way to do the foggy glass background that KLWP can do? (Previous Post)
(Next Post) Swipe and launch script »
< ![CDATA[
None that I am aware of, in theory the length is arbitrary (storage is the limit). I don’t remember any change on this that could explain this issue. Maybe this is a bug with the encoding. Data are stored using JSON, but in theory that shouldn’t limit the content size nor the content itself.
]]>
< ![CDATA[
I just tested with a long text, it easily goes beyond 10500. So it has to be linked with either the content itself or the storage. Could you send me the script?
]]>
< ![CDATA[
I don’t think it’s the script.
I imported via repository importer another long script “bindings dictionary” from trianguloy with the same limitation. Is it possible that there is a stringbuffer limit on my lg g3 with lollipop 5.0 nonrooted?
]]>
< ![CDATA[
Oh, I see, that’s a different issue then. The limitation may be in the Intent which is used to transfer data from the repository importer to lightning. I don’t know the exact limit but it’s not very large. Still, I think it should be at least a few hundreds of kb, larger than 10k. Or the limitation may be elsewhere in the importer. TrianguloY, Lukas Morawietz did you already hit this problem?
]]>
< ![CDATA[
I tested on my device, but it imported the whole script without problems.
Mirko Kohler: Is it also cut in the pop-up dialog when clicking the search and import button?
]]>
< ![CDATA[
TrianguloY yes it is also cut in the pop-up dialog after clicking the search and import button. I tried to edit your dialog and can’t add more chars. Can delete chars and then can add the same amount of deleted chars.
]]>
< ![CDATA[
Seems an lg ‘feature’
stackoverflow.com – Android EditText max text length limited
Shouldn’t be difficult to fix, but I hope it doesn’t break other devices!
Be aware, you may have that same problem in any textbox from any app. Does it happens in lightning’s script editor textbox?
]]>
< ![CDATA[
TrianguloY you’re right its probably an lg issue. It happens also in Pierre Héberts script editor.
I also use Quoda which seems to use another textbox without limitation. I tried to export my script from a template made before changed to lg mobil via Xplore renaming template to zip. If extracting direct in file system as file it’s in full length. If extracting direct to an app the extracted text is either in Xplores text viewer or Quoda limited to 10500 chars. But I can add more chars in Quoda to the extracted text. Whereas in script editor or the textbox from repository importer no more chars can be added.
]]>