Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

MouseSap linking broken (MSW, 32 bits)

<< < (3/3)

oBFusCATed:
This is rather strange.
The code in ScintillaWX::ClaimSelection and ScintillaWX::DoMiddleButtonUp is gtk only.
Can you test if this works in scite and the stc wxWidgets sample?

Pecan:

--- Quote from: oBFusCATed on June 19, 2020, 08:53:12 pm ---This is rather strange.
The code in ScintillaWX::ClaimSelection and ScintillaWX::DoMiddleButtonUp is gtk only.
Can you test if this works in scite and the stc wxWidgets sample?

--- End quote ---

Pasting with middleMouse does NOT work in scite 4.4.3 nor does it work in wx3.1.3 stc sample (compiled with CB 12173).

But it does work within the CB editors (CB 12173) with all contrib plugins disabled.

I hope you're not considering disabling it in Windows. I've become addicted to it.


oBFusCATed:

--- Quote from: Pecan on June 20, 2020, 11:10:27 pm ---I hope you're not considering disabling it in Windows. I've become addicted to it.

--- End quote ---
As a first step we need to find which code does this, so we don't break it when we do an update to the scintilla code.
Could you try to use a debugger to find why it does work?

Pecan:

--- Quote from: oBFusCATed on June 21, 2020, 01:15:47 am ---
As a first step we need to find which code does this, so we don't break it when we do an update to the scintilla code.
Could you try to use a debugger to find why it does work?

--- End quote ---

It's implemented in:
void cbStyledTextCtrl::OnMouseMiddleDown(wxMouseEvent& event)

oBFusCATed:
Good, it is an option and it is off by default.

So what is the plan for the mouse sap plugin? Is it needed any more?

Navigation

[0] Message Index

[*] Previous page

Go to full version