Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Using Code::Blocks / Re: Hiccups while typing (continuation)
« Last post by Pecan on Today at 08:25:46 pm »
@ ollydbg

I stopped overthinking this, simplified, and came up this the 7th inning. I think this is a homerun.
Give it a try. Thanks.

Code
Index: classbrowser.cpp
===================================================================
--- classbrowser.cpp (revision 13611)
+++ classbrowser.cpp (working copy)
@@ -46,7 +46,7 @@
 
 #include "parser/ccdebuginfo.h"
 
-#include <stack>
+//unused #include <stack>
 #include <chrono>
 
 #define CC_CLASS_BROWSER_DEBUG_OUTPUT 0
@@ -242,6 +242,9 @@
             filter = bdfProject;
 
         m_Parser->ClassBrowserOptions().displayFilter = filter;
+        // Update stale CB globals in TempParser before WriteOptions() //(ph 2025/02/10)
+        if (m_Parser == m_ParseManager->GetTempParser())
+            m_Parser->ReadOptions();
         m_Parser->WriteOptions();
         UpdateClassBrowserView();
     }
Index: parsemanager.h
===================================================================
--- parsemanager.h (revision 13611)
+++ parsemanager.h (working copy)
@@ -9,8 +9,8 @@
 #include "parsemanager_base.h"
 #include "parser/parser.h"
 
-#include <queue>
-#include <map>
+//unused #include <queue>
+// unused #include <map>
 #include <memory>
 #include <unordered_map>
 
@@ -257,6 +257,7 @@
     //(ph 2024/01/25)
     void SetSymbolsWindowHasFocus(bool trueOrFalse){ m_SymbolsWindowHasFocus = trueOrFalse;}
     bool GetSymbolsWindowHasFocus(){return m_SymbolsWindowHasFocus;}
+    ParserBase* GetTempParser(){return m_TempParser;} //(ph 2025/02/10)
 
 protected:
     /** When a Parser is created, we need a full parsing stage including:
Index: resources/manifest.xml
===================================================================
--- resources/manifest.xml (revision 13611)
+++ resources/manifest.xml (working copy)
@@ -3,7 +3,7 @@
     <SdkVersion major="1" minor="10" release="0" />
     <Plugin name="CodeCompletion">
         <Value title="Code completion" />
-        <Value version="1.0.5 24/01/29" />
+        <Value version="1.0.6 25/02/10" />
         <Value description="This plugin provides a symbols browser for your projects and code-completion inside the editor.
 
 

2
Hi Team CB
Hi Tim, Hi Miguel and others developers.

In join memo, you can find "my" revisit of internal comands used by CB to build targets on Win32 systems with several configurations of free compilers C/C++.
I add into it, proposals to make the internal commands much adapted with recent versions of these compilers or much adequate, and repair some syntax errors.

I think it's preferable to read in full text join (sorry long text because many explanations) to understand big principles of my reflection.

I also propose to improve automatic detection of these compilers at startup of CB by indicate the "last" directory present on WIN11 to be sure to find an compiler under theses (if you conserve "default" directory during installation). 
 
To simplify reading, in this text, I frame all my proposals and ask about evolutions of CB by :
-------------------------------------------------------------------------------------------------------------------------------------
.....
-------------------------------------------------------------------------------------------------------------------------------------

I'm just an user of CB, I think also that my asks are reasonable, but you are only judges to accept or not my proposals. 

Thank's for your read, all of my asks are tested and work on my system configurations (W11 24H2 and 23H2 64 bit).

Wait to your returns.

Many thank's.

Thierry.
3
Profile spammer reported to moderator.
4
Using Code::Blocks / Re: Open files list single click
« Last post by Grit Clef on Today at 12:49:46 pm »
Maybe possible; that depends on whether the devs will accept adding some extra code in the source.
5
Using Code::Blocks / Re: Open files list single click
« Last post by Krice on Today at 12:40:49 pm »
So it's possible or not? Is wxWidgets blocking this too, like it always does?
7
Help / Dark mode question
« Last post by J0NI on Today at 09:43:53 am »
Hello. Does anyone know how I can change the rest of the UI to also be in dark mode instead of just the editor?
8
Sometimes, others in the community will share their builds or tips for running the latest version on 32-bit systems. ;) ;)
9
Hi,
If the 32-bit version isn't available, check the forums for user-created solutions or workarounds.
10
Using Code::Blocks / Re: Open files list single click
« Last post by Grit Clef on Yesterday at 01:32:46 pm »
It is this code in src/plugins/openfileslist/openfileslistplugin.cpp which handles that event:
Code
EVT_TREE_ITEM_ACTIVATED(idOpenFilesTree, OpenFilesListPlugin::OnTreeItemActivated)
But there's no such event that will be triggered when the item is single-clicked in wxTreeEvent.
Probably this thread.
Pages: [1] 2 3 4 5 6 ... 10