Hello,
I have worked a long time with C::B now, and would like to report a bug that is annoying me since the beginning.
Sometimes you want to copy some code from a file to another file, but my habit is:
1) Highlight/select text with mouse
2) Then go with the mouse hovering the file I want to paste my code to
3) And then press CTRL+C
Problem is that the text-cursor stops registering when hovering the mouse on a file like main.cpp.
So if you press CTRL+C when hovering a file with the mouse-cursor, the highlighted content is not paste to the clipboard.
Is this a bug? Or can this be turned off somewhere? Because I can't change my habit, since in other editors I have no problem with this.
Thanks for reading,
Cheers
EDIT:
I think someone should remove the SetFocus() line, when the OnHoveringMouseEvent() function is being activated on the Notebook widget, containing the tab files .cpp/.h/.rc etc.
What OS are you using. What version of CB?
QuoteI think someone should remove the SetFocus() line, when the OnHoveringMouseEvent() function is being activated on the Notebook widget
i think this is because you can use the scroll wheel to scroll trough the tabs
Quote from: Pecan on November 27, 2019, 07:39:30 PM
What OS are you using. What version of CB?
Codeblocks 17.12 and Windows 7
Quote from: BlueHazzard on November 28, 2019, 07:04:26 PM
QuoteI think someone should remove the SetFocus() line, when the OnHoveringMouseEvent() function is being activated on the Notebook widget
i think this is because you can use the scroll wheel to scroll trough the tabs
Yeah but that should only work when you click a tab, not instantly gain focus when hovering it with your mouse.
But that is my opinion/programming-style (discussable).
I think you can disable this in "Settings -> Environment -> Notebook appearance -> Enable scrolling with mouse wheel"
Quote from: oBFusCATed on November 30, 2019, 10:35:31 AM
I think you can disable this in "Settings -> Environment -> Notebook appearance -> Enable scrolling with mouse wheel"
This worked, thanks :)