User forums > Using Code::Blocks
Highlight disappears when using mouse drag scroll with right key
Quiss:
- Select "Mouse Key To Use: Right" in Settings-Editor-Mouse Drag Scrolling
- Double click (or select) some repeating word like "std" or "vector" in a file. All "std" highlighted.
- Hold and move (up or down) right key of mouse to scroll. As soon as right key down, highlights disappear.
- Scrolling with mouse wheel ok.
- Using mouse drag scroll with "middle key" instead of "right key" ok. Unfortunatelly I've been using right key :(.
Windows 10, wx3.0.4, svn 11454.
11395 has this problem.
11317 doesn't have this problem.
oBFusCATed:
There is a big gab between your revisions. Can you do a bisect and tell us which revision broke this?
Quiss:
11334 has this problem.
11321 does not.
The revisions between them can't be built. I think 11334 fixed error:
--- Code: ---In file included from F:\cb\codeblocks_sf\src\sdk\wxscintilla\src\ScintillaWX.cpp:51:0:
F:\cb\codeblocks_sf\src\sdk\wxscintilla\src\ScintillaWX.cpp: In member function 'bool ScintillaWX::CreateSystemCaret()':
F:\cb\codeblocks_sf\src\sdk\wxscintilla\src\ScintillaWX.cpp:737:27: error: 'sci' was not declared in this scope
::ShowCaret(GetHwndOf(sci));
^
F:\wxWidgets-3.0.4\include/wx/msw/private.h:824:42: note: in definition of macro 'GetHwndOf'
#define GetHwndOf(win) ((HWND)((win)->GetHWND()))
^
F:\cb\codeblocks_sf\src\sdk\wxscintilla\src\ScintillaWX.cpp: In member function 'bool ScintillaWX::DestroySystemCaret()':
F:\cb\codeblocks_sf\src\sdk\wxscintilla\src\ScintillaWX.cpp:748:31: error: 'sci' was not declared in this scope
::HideCaret(GetHwndOf(sci));
^
F:\wxWidgets-3.0.4\include/wx/msw/private.h:824:42: note: in definition of macro 'GetHwndOf'
#define GetHwndOf(win) ((HWND)((win)->GetHWND()))
--- End code ---
oBFusCATed:
OK, it seems the update of scintilla has caused this.
Unfortunately I cannot reproduce this on my linux, but I had to increase the time for detection of unix context menu.
Does right clicking in the editor clear the selection for you?
Quiss:
Yes. But when you right click and "release" button (right click menu pops up), both versions clear the selection.
Navigation
[0] Message Index
[#] Next page
Go to full version