Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
crash when double click the selected text!
mikeandmore:
i fixed this bug myself
but i don't think it will work with the drag-and-drop plugin in codebloks any more.
[attachment deleted by admin]
Michael:
--- Quote from: mikeandmore on April 13, 2006, 11:25:31 am ---i fixed this bug myself
but i don't think it will work with the drag-and-drop plugin in codebloks any more.
--- End quote ---
You can post the patch to BerliOS.
Best wishes,
Michael
Pecan:
--- Quote from: mikeandmore on April 13, 2006, 11:25:31 am ---i fixed this bug myself
but i don't think it will work with the drag-and-drop plugin in codebloks any more.
--- End quote ---
--- Code: ------ wxscintilla_1.67.0.orig/include/wx/wxscintilla.h 2005-12-22 01:25:58.000000000 +0800
+++ wxscintilla_1.67.0/include/wx/wxscintilla.h 2006-04-13 17:06:38.000000000 +0800
@@ -3437,9 +3437,9 @@ BEGIN_DECLARE_EVENT_TYPES()
DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_URIDROPPED, 1666)
DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_DWELLSTART, 1667)
DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_DWELLEND, 1668)
- DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_START_DRAG, 1669)
- DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_DRAG_OVER, 1670)
- DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_DO_DROP, 1671)
+ //DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_START_DRAG, 1669)
+ //DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_DRAG_OVER, 1670)
+ //DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_DO_DROP, 1671)
DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_ZOOM, 1672)
DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_HOTSPOT_CLICK, 1673)
DECLARE_EXPORTED_EVENT_TYPE (WXDLLIMPEXP_SCI, wxEVT_SCI_HOTSPOT_DCLICK, 1674)
--- End code ---
This patch appears to disable drag and drop for *all* platforms.
I've only experienced the bug under wxGTK.
Pecan:
Would someone tell me how to apply a patch with svn command line utilities on Linux.
I created a scintilla patch but was using a test program. Now I want to apply and test on CodeBlocks. I cannot seem to find a "patch" command.
What am I missing?
thanks
pecan
thomas:
Create patch:
svn diff > filename.patch
Apply patch:
patch -p0 -u < filename.patch is the "correct" way, but
patch -p0 < filename.patch is what the svn documentation recommends.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version