fix: Can't correctly select in column mode.

This commit is contained in:
Roy Qu 2024-05-12 12:34:00 +08:00
parent bdace3fcf1
commit b8567f09cb
3 changed files with 7 additions and 3 deletions

View File

@ -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)

View File

@ -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) {

View File

@ -1,2 +1,2 @@
APP_VERSION="3.0"
APP_VERSION_SUFFIX=""
APP_VERSION="3.1"
APP_VERSION_SUFFIX="alpha"