From: Victor B. <so...@te...> - 2015-10-23 07:55:51
|
try it without "\n" (all in a line) ----- Original Message ----- From: John Labenski To: wxl...@li... Sent: Friday, October 23, 2015 5:42 AM Subject: Re: [wxlua-users] wxStyledTextCtrl:AppendText 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 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ _______________________________________________ wxlua-users mailing list wxl...@li... https://lists.sourceforge.net/lists/listinfo/wxlua-users |