Author Topic: Right Mouse Drag and Scroll Plugin  (Read 32672 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2773
Re: Right Mouse Drag and Scroll Plugin
« Reply #15 on: February 14, 2006, 06:22:22 pm »
Could you please provide a binary version too? I don't have wxwidgets headers..

kkez,

Since this is a plugin, and the plugin SVN plugin interface is changing so
fast, sometimes nightly, I don't think a binary would work very long.

The only way a binary would work, is if this was a Contrib plugin. And since
it's highest download count has been 7. That means me, tiwag and maybe 5 other are using it. I'm not sure its worth making it a contrib.

However, If, you'll tell me what version, SVN number, nightly build you are
using, I'll see if I can make a version for ya.

thanks
pecan

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Right Mouse Drag and Scroll Plugin
« Reply #16 on: February 14, 2006, 09:41:56 pm »
... could you tell me why you would not want the editor to have the focus if the mouse cursor is in the editor window? ...
because sometimes i have open two instances of C::B during debugging and i use the mouse as reading-positioning-helper in one editor while editing in another editor and/or watches edit-dialog.

and before some time i tried X-mouse behaviour (window activation follows mouse) and found out that i hate it. ;-)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2773
Re: Right Mouse Drag and Scroll Plugin
« Reply #17 on: February 14, 2006, 11:09:04 pm »
2/14/2006 5:02 PM

Attached: cbDragScrollV018.zip

  Added configuration item for "Focus Editor on Mouse Entry"

Note: The "Editor Focused on Mouse Entry" does not cause
the windows or unix app window to activate. It ONLY causes
the editor frame to focus if the Window already has the
operating system focus.

This is done so that the cursor and caret stay in the same
location when moving back into the editor after clicking/working outside
the editor frame. You simply move the mouse back into the editor and
its as if you had not left. It affects no other frames or windows.

thanks
pecan


[attachment deleted by admin]
« Last Edit: February 14, 2006, 11:12:12 pm by Pecan »

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Right Mouse Drag and Scroll Plugin
« Reply #18 on: February 15, 2006, 04:07:25 am »
good work ! thanks pecan

Offline kkez

  • Almost regular
  • **
  • Posts: 153
    • WinapiZone
Re: Right Mouse Drag and Scroll Plugin
« Reply #19 on: February 16, 2006, 03:11:56 pm »
Could you please provide a binary version too? I don't have wxwidgets headers..

kkez,

Since this is a plugin, and the plugin SVN plugin interface is changing so
fast, sometimes nightly, I don't think a binary would work very long.

The only way a binary would work, is if this was a Contrib plugin. And since
it's highest download count has been 7. That means me, tiwag and maybe 5 other are using it. I'm not sure its worth making it a contrib.

However, If, you'll tell me what version, SVN number, nightly build you are
using, I'll see if I can make a version for ya.

thanks
pecan

Oh, ok. Never mind, i'll download the wxwidgets and i'll compile it by myself  :D

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Right Mouse Drag and Scroll Plugin
« Reply #20 on: February 16, 2006, 03:31:23 pm »
Also the new version works very well for me. Thanks! It's really useful.
Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

takeshimiya

  • Guest
Re: Right Mouse Drag and Scroll Plugin
« Reply #21 on: February 16, 2006, 04:15:48 pm »
The only way a binary would work, is if this was a Contrib plugin. And since
it's highest download count has been 7. That means me, tiwag and maybe 5 other are using it. I'm not sure its worth making it a contrib.

That's because it's not in contrib.
[It's in contrib -> more users see it -> more need to be in contrib]
[It's not in contrib -> no users see it -> no idea this plugin existed]


This is something called retroalimentation/publicity. :)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: Right Mouse Drag and Scroll Plugin
« Reply #22 on: February 16, 2006, 04:24:10 pm »
let me see ..... maybe I can add it to the nightly builds.
But then we should keep in mind if problems arise the plug-in "might" be the guilty party.
Plug-in can do harm, remember when the keybinder blockes some icons in the debug and build menu.

But this weekend I'll create a nightly containing it, just keep me posted of new versions (please PM me in such a case) I might overlook it in the forum.

kind regards,
Lieven

PS : personal request, I am allergic to compiler warnings ;-)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Right Mouse Drag and Scroll Plugin
« Reply #23 on: February 16, 2006, 05:11:51 pm »
cbDragScroll doesn't harm - i use it regularly and have no problems - just fun

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2773
Re: Right Mouse Drag and Scroll Plugin
« Reply #24 on: February 16, 2006, 05:52:01 pm »
Lieven,

If you want to make it a contrib, I'd be happy to maintain it.
If you'll give me the same permissions to update, like I have in keybinder,
I'll make sure it works for both Windows and Ubuntu.


thanks
pecan

Edit: There WILL be bugs. Every time the interface changes, the contribs have bugs. So, we fix 'em like always. When we suspect a contrib, we should turn 'em off and carry on until its fixed. Right? That's what I do anyway.
« Last Edit: February 16, 2006, 08:09:49 pm by Pecan »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2773
Re: Right Mouse Drag and Scroll Plugin
« Reply #25 on: February 16, 2006, 05:59:12 pm »

PS : personal request, I am allergic to compiler warnings ;-)

Lieven, are you getting warnings out of cbDragScroll. If so, what are they. I'm not getting any here. Could you send me a log of 'em.

thanks
pecan

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Right Mouse Drag and Scroll Plugin
« Reply #26 on: February 16, 2006, 06:59:15 pm »
Lieven,

If you want to make it a contrib, I'd be happy to maintain it.
If you'll can give me the same permissions to update, like I have in keybinder,
I'll make sure it works for both Windows and Ubuntu.

IMHO it would be a good idea to make it a contrib. plugin. If the C::B admins/devs agree, of course :).

Michael

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: Right Mouse Drag and Scroll Plugin
« Reply #27 on: February 16, 2006, 11:10:54 pm »
I haven't compiled it yet, so no idea of warnings. I can't decide on it being a contrib plugin, you will have to ask the "don" himself., I am just a humble servant ;-)  But I will create a nightly this weekend which contains it ( a special weekend extra, so more people will have it then, and hopefully use it and like it). To be honest I have never used it, but I promise I will.

Cheers,
Lieven

« Last Edit: February 16, 2006, 11:16:42 pm by killerbot »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: Right Mouse Drag and Scroll Plugin
« Reply #28 on: February 17, 2006, 01:56:55 pm »
compiled it, dropped the dll in the plug-ins dir (still have to copy the 2 jpg-s), but does not show up in the editor config.
Any idea why ?

EDIT :  I am going blind !!!!! It is ok

EDIT2 : could it be that dragscroll-of.png is not used ??
« Last Edit: February 17, 2006, 02:02:35 pm by killerbot »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2773
Re: Right Mouse Drag and Scroll Plugin
« Reply #29 on: February 17, 2006, 02:19:35 pm »
EDIT2 : could it be that dragscroll-of.png is not used ??

That name should be "dragscroll-off.png". It's the greyed out
.png They should be put in the "...\share\CodeBlocks\images\settings\"
directory. If they're not there, the pluging specifies that the default plugin
png be used (the pluzzle piece .png)

It should look like the attachment...
thanks
pecan



[attachment deleted by admin]
« Last Edit: February 17, 2006, 02:23:25 pm by Pecan »