User forums > Help
Incremental Search text box selects itself
Miguel Gimenez:
If you can compile C::B you can try changing this code (in IncrementalSearch.cpp)
--- Code: ---#ifdef __WXMAC__
// on macOS only set focus if we really lost it, to avoid native select all,
// or it will reset the text selection
if (!m_pTextCtrl->HasFocus())
m_pTextCtrl->SetFocus();
#else
m_pTextCtrl->SetFocus();
#endif
--- End code ---
to just
--- Code: --- // only set focus if we really lost it, to avoid native select all
// or it will reset the text selection
if (!m_pTextCtrl->HasFocus())
m_pTextCtrl->SetFocus();
--- End code ---
Miguel Gimenez:
Fixed on Ubuntu, should work also on Debian (commit 13764).
sedenion:
--- Quote from: Miguel Gimenez on January 10, 2026, 01:45:27 pm ---If you can compile C::B you can try changing this code (in IncrementalSearch.cpp)
--- End quote ---
I would like to try to compile it from source, but I am a bit lost in your sourceforge page (and not familiar with SVN). Where could I get up to date source archive ready for compile ?
ollydbg:
--- Quote from: sedenion on February 16, 2026, 11:50:59 pm ---
--- Quote from: Miguel Gimenez on January 10, 2026, 01:45:27 pm ---If you can compile C::B you can try changing this code (in IncrementalSearch.cpp)
--- End quote ---
I would like to try to compile it from source, but I am a bit lost in your sourceforge page (and not familiar with SVN). Where could I get up to date source archive ready for compile ?
--- End quote ---
If you are not familiar with SVN, you can try git.
There are some git mirrors, see here:
https://github.com/arnholm/codeblocks_sfmirror
sedenion:
--- Quote from: ollydbg on February 17, 2026, 03:21:10 am ---If you are not familiar with SVN, you can try git.
There are some git mirrors, see here:
https://github.com/arnholm/codeblocks_sfmirror
--- End quote ---
Thanks for your help and reply. Anyway I managed to get the nightly builds package from xaviou debian repositories, and I can confirm incremental search now behave properly.
Now, this would be cool that Debian mainteners updates their official packages...
Navigation
[0] Message Index
[*] Previous page
Go to full version