diff --git a/NEWS.md b/NEWS.md index afdc84db..97a5fa10 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +Red Panda C++ Version 3.1 + + - fix: Can't correctly select in column mode. + Red Panda C++ Version 3.0 - enhancement: New chinese translation for invalid filename messagebox. (by XY0797@github.com) diff --git a/libs/qsynedit/qsynedit/qsynedit.cpp b/libs/qsynedit/qsynedit/qsynedit.cpp index fec184af..fbec9aa5 100644 --- a/libs/qsynedit/qsynedit/qsynedit.cpp +++ b/libs/qsynedit/qsynedit/qsynedit.cpp @@ -6636,7 +6636,7 @@ void QSynEdit::setBlockEnd(BufferCoord value) else value.ch = 1; } else { - value.ch = std::min(value.ch, 1); + value.ch = std::max(value.ch, 1); } if (value.ch != mBlockEnd.ch || value.line != mBlockEnd.line) { if (mActiveSelectionMode == SelectionMode::Column && value.ch != mBlockEnd.ch) { diff --git a/version.inc b/version.inc index 073f9b05..0722923d 100644 --- a/version.inc +++ b/version.inc @@ -1,2 +1,2 @@ -APP_VERSION="3.0" -APP_VERSION_SUFFIX="" +APP_VERSION="3.1" +APP_VERSION_SUFFIX="alpha"