Code::Blocks
November 24, 2014, 05:57:27 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: 1 [2]  All   Go Down
  Send this topic  |  Print  
Author Topic: The 18 December 2010 build (6900) is out.  (Read 14988 times)
mfmco2
Newcomer
*
Offline Offline

Posts: 5


« Reply #15 on: December 22, 2010, 07:44:36 am »

codeblocks.RPT

Please delete the file E:\CodeBlocks\share\codeblocks\plugins\EditorTweaks.dll

and start your C::B again. I think EditorTweaks plugin cause this crash.

Thank you very much!
I use SVN6454 version "EditorTweaks.dll", replace the current version.
Solve the problem.

Logged

windows xp sp3     chinese
Code::Blocks svn6900 + wmingwm10_gcc441 + wxWidgets 2.8.11.03(Compile the package【wxpack】)
danselmi
Developer
Almost regular
*****
Offline Offline

Posts: 184



« Reply #16 on: December 22, 2010, 04:43:49 pm »

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())
Logged

killerbot
Administrator
Lives here!
*****
Offline Offline

Posts: 4825


« Reply #17 on: December 22, 2010, 05:45:03 pm »

applied the suggestions
Logged
Folco
Regular
***
Offline Offline

Posts: 337



WWW
« Reply #18 on: December 23, 2010, 04:10:40 pm »

Thanks for this nightly, thanks for A68k lexer intergration. Smiley
Logged

Sorry for my english, I'm french
MS Visual Studio: the soft which brings problems starting from solutions.
mamtoug
Newcomer
*
Offline Offline

Posts: 1


« Reply #19 on: December 23, 2010, 09:30:05 pm »

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.
 
Logged
jens
Administrator
Lives here!
*****
Offline Offline

Posts: 6652



WWW
« Reply #20 on: December 23, 2010, 09:40:13 pm »

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.

Just open one or more projects and right-click on "Workspace" in the management pane or use the "File"-menu and chose "Save workspace as".
Logged

Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5, 6 & 7] - nightlies : http://rpm.jenslody.de/
Pages: 1 [2]  All   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!