Page 1 of 1

Crash during text selection in CodeLite 4051

Posted: Fri Apr 16, 2010 12:02 pm
by marfi
Hi Eran,
I've discovered pretty annoying crash in CodeLite 4051. The CL always crashes If I select more than one program lines and the last line exceeds the editor width. The bug can be easily reproduced (at least in Ubuntu 9.10) with following code:

Code: Select all

wxCopyFile( udvDIAGBANK_PATH, udvDIAGBANK_PATH + wxT(".backup") );
wxMessageBox( wxT("Diagram bank file couldn't be read correctly (probably some previously used plugins aren't loaded at this time) so the current file was archived and new one is in use."), wxT("CodeDesigner"), wxOK | wxICON_WARNING );
1) place text cursor before the first line
2) hold SHIFT and press down arrow key
3) still hold SHIFT and press END key at the long program line.

If the last (long) line exceeds your editor's extent then the CL crashes. Unfortunately I cannot give you more info because the new CL crash handler pops out only empty window and whole system becomes unresponsive (until X server restart or pressing Alt+F4 combo).

Regards
Michal

Re: Crash during text selection in CodeLite 4051

Posted: Fri Apr 16, 2010 11:29 pm
by eranif
Fixed in revision 4052

Eran

Re: Crash during text selection in CodeLite 4051

Posted: Sat Apr 17, 2010 12:59 am
by marfi
Thank you a lot!
Michal