fixes #320 - fix: Display not correctly updated after select all in debug console.
This commit is contained in:
parent
5efc4ac279
commit
0339baf069
1
NEWS.md
1
NEWS.md
|
@ -82,6 +82,7 @@ Red Panda C++ Version 2.27
|
||||||
- enhancement: Vertically scroll by pixel.
|
- enhancement: Vertically scroll by pixel.
|
||||||
- enhancement: Display (gdb) prompt in debug console after it's cleared.
|
- enhancement: Display (gdb) prompt in debug console after it's cleared.
|
||||||
- fix: Output of "disas" is not shown in debug console.
|
- 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
|
Red Panda C++ Version 2.26
|
||||||
- enhancement: Code suggestion for embedded std::vectors.
|
- enhancement: Code suggestion for embedded std::vectors.
|
||||||
|
|
|
@ -223,6 +223,7 @@ void QConsole::selectAll()
|
||||||
if (mContents.lines()>0) {
|
if (mContents.lines()>0) {
|
||||||
mSelectionBegin = {1,1};
|
mSelectionBegin = {1,1};
|
||||||
mSelectionEnd = { mContents.getLastLine().length()+1,mContents.lines()};
|
mSelectionEnd = { mContents.getLastLine().length()+1,mContents.lines()};
|
||||||
|
invalidate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue