User forums > Nightly builds
The 18 December 2010 build (6900) is out.
mfmco2:
--- Quote from: ollydbg on December 22, 2010, 06:12:08 am ---
--- Quote from: mfmco2 on December 22, 2010, 06:02:41 am ---codeblocks.RPT
--- End quote ---
Please delete the file E:\CodeBlocks\share\codeblocks\plugins\EditorTweaks.dll
and start your C::B again. I think EditorTweaks plugin cause this crash.
--- End quote ---
Thank you very much!
I use SVN6454 version "EditorTweaks.dll", replace the current version.
Solve the problem.
danselmi:
This patch should stop the crashes of EditorTweaks. (mainly the FindMenu(_("Edit")); has to be replaced by FindMenu(_("&Edit")); but the other checks won't hurt)
--- Code: ---Index: EditorTweaks.cpp
===================================================================
--- EditorTweaks.cpp (revision 6904)
+++ EditorTweaks.cpp (working copy)
@@ -174,7 +174,7 @@
void EditorTweaks::OnRelease(bool /*appShutDown*/)
{
- m_tweakmenu = 0;
+ m_tweakmenu = NULL;
// EditorHooks::UnregisterHook(m_EditorHookId, true);
EditorManager* em = Manager::Get()->GetEditorManager();
@@ -208,7 +208,7 @@
void EditorTweaks::BuildMenu(wxMenuBar* menuBar)
{
Manager::Get()->GetLogManager()->DebugLog(_("Editor Tweaks plugin: Building menu"));
- int i=menuBar->FindMenu(_("Edit"));
+ int i=menuBar->FindMenu(_("&Edit"));
if(i==wxNOT_FOUND)
{
Manager::Get()->GetLogManager()->DebugLog(_("Editor Tweaks plugin: edit menu not found"));
@@ -298,6 +298,8 @@
void EditorTweaks::UpdateUI()
{
+ if ( !m_tweakmenu )
+ return;
cbEditor* ed = Manager::Get()->GetEditorManager()->GetBuiltinActiveEditor();
if(!ed || !ed->GetControl())
{
@@ -414,7 +416,7 @@
//TIP: for consistency, add a separator as the first item...
//make sure we have an editor
- if(type!=mtEditorManager)
+ if(type!=mtEditorManager || !m_tweakmenu)
return;
cbEditor* ed = Manager::Get()->GetEditorManager()->GetBuiltinActiveEditor();
if(!ed || !ed->GetControl())
--- End code ---
killerbot:
applied the suggestions
Folco:
Thanks for this nightly, thanks for A68k lexer intergration. :)
mamtoug:
somethings that I wish to add to codeblocks, I hope:
when I create a new project I really need to create a workspace file also (like MS visual studio), so it will be easy to add a second project.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version