- fix: When selection is availalbe, Ctrl+Click shouldn't jump to declaration/definition.
This commit is contained in:
parent
e2f25d063f
commit
36cb8b7867
4
NEWS.md
4
NEWS.md
|
@ -1,3 +1,7 @@
|
||||||
|
Red Panda C++ Version 2.23
|
||||||
|
|
||||||
|
- fix: When selection is availalbe, Ctrl+Click shouldn't jump to declaration/definition.
|
||||||
|
|
||||||
Red Panda C++ Version 2.22
|
Red Panda C++ Version 2.22
|
||||||
|
|
||||||
- fix: Crash at startup when current problem in the problem set is connected with source file.
|
- fix: Crash at startup when current problem in the problem set is connected with source file.
|
||||||
|
|
|
@ -8,7 +8,7 @@ isEmpty(APP_NAME) {
|
||||||
}
|
}
|
||||||
|
|
||||||
isEmpty(APP_VERSION) {
|
isEmpty(APP_VERSION) {
|
||||||
APP_VERSION = 2.22
|
APP_VERSION = 2.23
|
||||||
}
|
}
|
||||||
|
|
||||||
contains(QMAKE_HOST.arch, x86_64):{
|
contains(QMAKE_HOST.arch, x86_64):{
|
||||||
|
|
|
@ -1296,7 +1296,7 @@ void Editor::mouseReleaseEvent(QMouseEvent *event)
|
||||||
// if ctrl+clicked
|
// if ctrl+clicked
|
||||||
if ((event->modifiers() == Qt::ControlModifier)
|
if ((event->modifiers() == Qt::ControlModifier)
|
||||||
&& (event->button() == Qt::LeftButton)) {
|
&& (event->button() == Qt::LeftButton)) {
|
||||||
if (!mCurrentWord.isEmpty()) {
|
if (!selAvail() && !mCurrentWord.isEmpty()) {
|
||||||
QSynedit::BufferCoord p;
|
QSynedit::BufferCoord p;
|
||||||
if (mParser && pointToCharLine(event->pos(),p)) {
|
if (mParser && pointToCharLine(event->pos(),p)) {
|
||||||
QString s = document()->getLine(p.line - 1);
|
QString s = document()->getLine(p.line - 1);
|
||||||
|
|
|
@ -14,7 +14,7 @@ qsynedit.subdir = libs/qsynedit
|
||||||
|
|
||||||
APP_NAME = RedPandaCPP
|
APP_NAME = RedPandaCPP
|
||||||
|
|
||||||
APP_VERSION = 2.22
|
APP_VERSION = 2.23
|
||||||
|
|
||||||
# Add the dependencies so that the RedPandaIDE project can add the depended programs
|
# Add the dependencies so that the RedPandaIDE project can add the depended programs
|
||||||
# into the main app bundle
|
# into the main app bundle
|
||||||
|
|
Loading…
Reference in New Issue