- fix: goto declaration by ctrl+click will incorrectly select contents
This commit is contained in:
parent
33f838ef6a
commit
96631049eb
1
NEWS.md
1
NEWS.md
|
@ -17,6 +17,7 @@ Red Panda C++ Version 1.0.1
|
||||||
- enhancement: slightly reduce memory usage for code parser
|
- enhancement: slightly reduce memory usage for code parser
|
||||||
- enhancement: switch capslock won't cancel code completion
|
- enhancement: switch capslock won't cancel code completion
|
||||||
- enhancement: double click on item in code completion list will use it to complete
|
- enhancement: double click on item in code completion list will use it to complete
|
||||||
|
- fix: goto declaration by ctrl+click will incorrectly select contents
|
||||||
|
|
||||||
Red Panda C++ Version 1.0.0
|
Red Panda C++ Version 1.0.0
|
||||||
- fix: calculation for code snippets's tab stop positions is not correct
|
- fix: calculation for code snippets's tab stop positions is not correct
|
||||||
|
|
|
@ -1824,6 +1824,9 @@ void SynEdit::doMouseScroll(bool isDragging)
|
||||||
mDropped=false;
|
mDropped=false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Qt::MouseButtons buttons = qApp->mouseButtons();
|
||||||
|
if (!buttons.testFlag(Qt::LeftButton))
|
||||||
|
return;
|
||||||
QPoint iMousePos;
|
QPoint iMousePos;
|
||||||
DisplayCoord C;
|
DisplayCoord C;
|
||||||
int X, Y;
|
int X, Y;
|
||||||
|
@ -2532,9 +2535,6 @@ void SynEdit::computeScroll(bool isDragging)
|
||||||
int X=iMousePos.x();
|
int X=iMousePos.x();
|
||||||
int Y=iMousePos.y();
|
int Y=iMousePos.y();
|
||||||
|
|
||||||
Qt::MouseButtons buttons = qApp->mouseButtons();
|
|
||||||
if (!buttons.testFlag(Qt::LeftButton))
|
|
||||||
return;
|
|
||||||
QRect iScrollBounds; // relative to the client area
|
QRect iScrollBounds; // relative to the client area
|
||||||
int dispX=2,dispY = 2;
|
int dispX=2,dispY = 2;
|
||||||
// if (isDragging) {
|
// if (isDragging) {
|
||||||
|
|
Loading…
Reference in New Issue