Crash during text selection in CodeLite 4051

Discussion about CodeLite development process and patches
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Crash during text selection in CodeLite 4051

Post by marfi » Fri Apr 16, 2010 12:02 pm

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

User avatar
eranif
CodeLite Plugin
Posts: 5888
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Crash during text selection in CodeLite 4051

Post by eranif » Fri Apr 16, 2010 11:29 pm

Fixed in revision 4052

Eran
Make sure you have read the HOW TO POST thread

marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Re: Crash during text selection in CodeLite 4051

Post by marfi » Sat Apr 17, 2010 12:59 am

Thank you a lot!
Michal

Post Reply