Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Using Code::Blocks / 25.03: $if(condition){}{} does not work any more
« Last post by coxygene on Today at 03:04:58 pm »
When "$if(cond){}{}" is used, it will corrupt the concatenated result string, skipping x characters!

Ex: I use global variables to link the project with the right library
$if(${#vdll_fox}){DLL_FOX-1-7-79}{LIB_FOX}
2
Using Code::Blocks / Active tab color
« Last post by nenin on Today at 12:54:13 pm »
Is it possible to assign users color of the active editor tab?
3
General (but related to Code::Blocks) / Re: My account on Forum hacked ?
« Last post by gd_on on Today at 12:24:41 pm »
And as if on purpose, I received another 12 password reset emails this morning... Maybe you're the hacker, zukote1991.
4
That definitely sounds suspicious. Someone might be trying to gain access to your account by triggering the password reset. If you haven't already, I recommend changing your password to something stronger and enabling any additional security features available. Also, keep an eye on any unusual login activity. Good thing your account still works!
5
Help / Re: bug
« Last post by Miguel Gimenez on Today at 10:05:05 am »
Trash reported to moderator.
6
Help / bug
« Last post by maiorescuN1gger on Today at 09:37:50 am »
why does the forum not work if ur black
heil hitler nigger
7
I am new, I am here
8
Plugins development / Re: Code format support in clangd_client plugin
« Last post by christo on Yesterday at 06:13:26 pm »
Thank you Pecan.

In the change applied in svn, menu item is added after astyle menu item. But if I disable astyle plugin, this leads to context menu not working.

Edit:
Following change fixes the issue.
Code
diff --git a/src/plugins/contrib/clangd_client/src/codecompletion/codecompletion.cpp b/src/plugins/contrib/clangd_client/src/codecompletion/codecompletion.cpp
index 0964bbd37..e122e4823 100644
--- a/src/plugins/contrib/clangd_client/src/codecompletion/codecompletion.cpp
+++ b/src/plugins/contrib/clangd_client/src/codecompletion/codecompletion.cpp
@@ -1073,11 +1073,9 @@ void ClgdCompletion::BuildModuleMenu(const ModuleType type, wxMenu* menu, const
         const wxString labelAStyle = _("Format use AStyle");
         const wxString label = _("Format use Clangd"); // (christo 25/05/02)
         int position = Manager::Get()->GetPluginManager()->FindSortedMenuItemPosition(*menu, labelAStyle);
-        wxMenuItem* item = menu->FindItemByPosition(position);
-        if (item)  {
-            wxString itemLabel = item->GetItemLabelText();
-            if (itemLabel == labelAStyle)
-                position += 1;
+        if (position != menu->GetMenuItemCount())
+        {
+            position += 1;
         }
         menu->Insert(position, idCodeFormatterActiveFile, label, _("Format the selected source code (selected line) in the current file"));
9
Plugins development / Re: Code format support in clangd_client plugin
« Last post by Pecan on Yesterday at 05:59:20 pm »
Many of the projects now a days use clang-format for formatting code. clangd has support for clang-format as well using textDocument/rangeFormatting  LSP request. Attaching patch which adds a  context menu item " Format use Clangd" and does the formatting on selecting that.

Applied svn 13663. Thanks
10
Plugins development / ThreadSearch : documentation + others
« Last post by LETARTARE on Yesterday at 11:37:21 am »
Cb-13662 + wx-328 + gcc-14.2, Win-7

I wanted to create the documentation with 'Doxygen' and I had to correct forgetfulness in the comments,
so I made the following changes :
1- omission for comments 'Doxygen' ...
2- all single words 'NULL' => 'nullptr'
3- in manisfest.xml: version '1.14' => 1.15'
4- 'END_EVENT_TABLE();' => 'END_EVENT_TABLE()'
5- event 'EVT_TEXT' not used in ''ThreadSearch.cpp' : see
     
Quote
'void ThreadSearch::OnCboSearchExprEnter(wxCommandEvent &event)'
6- in 'ThreadSearch::OnAttach()' with LOGGING string translation

So I dropped a ticket to https://sourceforge.net/p/codeblocks/tickets/1532/
Pages: [1] 2 3 4 5 6 ... 10