fixes #320 - fix: Display not correctly updated after select all in debug console.

This commit is contained in:
Roy Qu 2024-03-25 17:21:22 +08:00
parent 5efc4ac279
commit 0339baf069
2 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,7 @@ Red Panda C++ Version 2.27
- enhancement: Vertically scroll by pixel.
- enhancement: Display (gdb) prompt in debug console after it's cleared.
- fix: Output of "disas" is not shown in debug console.
- fix: Display not correctly updated after select all in debug console.
Red Panda C++ Version 2.26
- enhancement: Code suggestion for embedded std::vectors.

View File

@ -223,6 +223,7 @@ void QConsole::selectAll()
if (mContents.lines()>0) {
mSelectionBegin = {1,1};
mSelectionEnd = { mContents.getLastLine().length()+1,mContents.lines()};
invalidate();
}
}