User forums > Using Code::Blocks
Deactivate "Paste" Function of Mouse Wheel Click
Toblerone89:
Hello Users,
I just need to know how to deactivate this function of mousewheel. Sometimes
I just push it unintended and added some of my code there. If I don´t register this
it gave some trouble compiling the code. Hopefully you can tell me how to change this.
Best Regards
Toblerone
Jenna:
A little less information.
On Linux it's normal behaviour and done by the window-manager as far as I know and probably not easy to switch off.
On windows, just disable the MouseSap-plugin.
This might also work on Linux, I never tried this.
Toblerone89:
Additionaly I should say that it only works in the CB IDE....in Windows itself this function is not active.
So it must be something in CB Settings, but actually I didn´t found the right option!
Jenna:
--- Quote from: Toblerone89 on August 21, 2013, 12:03:17 pm ---Additionaly I should say that it only works in the CB IDE....in Windows itself this function is not active.
So it must be something in CB Settings, but actually I didn´t found the right option!
--- End quote ---
Windows is too stupid to have such a comfortable function.
I always miss it very much, if I work with windows.
--- Quote from: jens on August 21, 2013, 11:34:31 am ---A little less information.
On Linux it's normal behaviour and done by the window-manager as far as I know and probably not easy to switch off.
On windows, just disable the MouseSap-plugin.
This might also work on Linux, I never tried this.
--- End quote ---
eckard_klotz:
Hello Everybody.
I can confirm that this feature can be very nasty if it is used accidently even it may be very useful in some situations.
Pleas let me explain:
In the past I noticed very often that mysterious text-passages in my sources placed on locations not edited by me. The only thing I could say is, that I copied this fragments to paste it somewhere else and suddenly it was added somewhere in my source. Now I know what happened.
Somewhere else (Maybe outside of C::B) I had a copy and paste-action and I did not clean the clipboard after this action. Than I scrolled through a source inside of C::B just to search for some information and clicked by accident the mouse wheel (or it happend since my mouse is not the newest one and the wheel switch had a defect) and since scrolling with the mouse-wheel may move the text on the screen fast I didn't recognize the paste.
The result is allways a randomly changed source you have to debug again.
If this is a traditional Linux function it is OK to to have it in C::B also for those how wish to use it. But since it is not the normal case under Windows it is essential to have a possibility to deactivate it. Otherwise I would define this behaviour of C::B not as a highlight feature but as a high-priority bug and a extension of the configuration (if it is not already existing) is a must.
If it is already possible to deactivate especially the mouse-wheel paste pleas tell us how.
Best regards,
Eckard.
Navigation
[0] Message Index
[#] Next page
Go to full version