line number area attempts to be dark mode compatible
This commit is contained in:
@ -672,7 +672,7 @@ void CodeEditor::lineNumberAreaPaintEvent(QPaintEvent *event)
|
|||||||
if (block.isVisible() && bottom >= event->rect().top()) {
|
if (block.isVisible() && bottom >= event->rect().top()) {
|
||||||
QString number = QString::number(blockNumber + 1) + " ";
|
QString number = QString::number(blockNumber + 1) + " ";
|
||||||
if ((highlight == NO_HIGHLIGHT) || (blockNumber != std::abs(highlight))) {
|
if ((highlight == NO_HIGHLIGHT) || (blockNumber != std::abs(highlight))) {
|
||||||
painter.setPen(Qt::black);
|
painter.setPen(palette().color(QPalette::WindowText));
|
||||||
} else {
|
} else {
|
||||||
number = QString(">") + QString::number(blockNumber + 1) + "<";
|
number = QString(">") + QString::number(blockNumber + 1) + "<";
|
||||||
if (highlight < 0)
|
if (highlight < 0)
|
||||||
|
|||||||
@ -56,6 +56,9 @@
|
|||||||
<releases>
|
<releases>
|
||||||
<release version="1.6.9" timestamp="1724308872">
|
<release version="1.6.9" timestamp="1724308872">
|
||||||
<description>
|
<description>
|
||||||
|
Added search and replace functionality.
|
||||||
|
Converged command line argument parsing using Qt facilities
|
||||||
|
Dark mode compatible
|
||||||
</description>
|
</description>
|
||||||
</release>
|
</release>
|
||||||
<release version="1.6.8" timestamp="1723581926">
|
<release version="1.6.8" timestamp="1723581926">
|
||||||
|
|||||||
Reference in New Issue
Block a user