On Sun, Oct 18, 2015 at 2:27 PM, Victor Bombi <[email protected]> wrote:
> Hi,
>
> 32*1024 - 7 is the maximum string len that is displayed in wxStyledTextCtrl
> with AppendText.
> I have not seen anywhere information related.
> Is this information in any place?
> Is there any way to get a longer display length?
>
>
Maybe there is an invalid utf8 char at that position that truncates it?
I added this line to the end of the samples/editor.wx.lua LoadFile function
and got all 40000 lines and even tried a larger value without a problem.
function LoadFile(filePath, editor, file_must_exist)
...
editor:AppendText(string.rep("1234567890\n", 40000))
return editor
end
Regards,
John
------------------------------------------------------------------------------
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users