- fix: If there are only 1 line in the editor, shift+down can't select it.
This commit is contained in:
parent
3681b1f56f
commit
c4442f3a30
1
NEWS.md
1
NEWS.md
|
@ -104,6 +104,7 @@ Red Panda C++ Version 2.27
|
|||
- enhancement: Add compiler set by choose the executable.
|
||||
- fix: Compile info for project doesn't have name of the project executable.
|
||||
- enhancement: Highlight words in the string/comments.
|
||||
- fix: If there are only 1 line in the editor, shift+down can't select it.
|
||||
|
||||
Red Panda C++ Version 2.26
|
||||
- enhancement: Code suggestion for embedded std::vectors.
|
||||
|
|
|
@ -4787,7 +4787,7 @@ void QSynEdit::moveCaretVert(int deltaY, bool isSelection)
|
|||
|
||||
BufferCoord vDstLineChar;
|
||||
if (ptDst.row == ptO.row && isSelection && deltaY!=0) {
|
||||
if (ptDst.row==1) {
|
||||
if (ptDst.row==1 && mDocument->count()>1) {
|
||||
vDstLineChar.ch=1;
|
||||
vDstLineChar.line=1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue