|
From: John L. <jla...@gm...> - 2015-10-23 03:42:22
|
On Sun, Oct 18, 2015 at 2:27 PM, Victor Bombi <so...@te...> 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
|