meven added a comment.
For reference I had a similar patch https://phabricator.kde.org/D25323 and a
potential fix in KSyntaxHighlighting https://phabricator.kde.org/D25328
REPOSITORY
R320 KIO Extras
REVISION DETAIL
https://phabricator.kde.org/D25891
To: iliakats, #dolphin, anthonyfieron
This revision was automatically updated to reflect the committed changes.
Closed by commit R320:4ec12a850e25: fix preview of plain text files when using
dark theme (authored by iliakats).
REPOSITORY
R320 KIO Extras
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D25891?vs=71295&id=7131
anthonyfieroni accepted this revision.
This revision is now accepted and ready to land.
REPOSITORY
R320 KIO Extras
REVISION DETAIL
https://phabricator.kde.org/D25891
To: iliakats, #dolphin, anthonyfieroni
Cc: kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n,
MrPepe, f
iliakats updated this revision to Diff 71295.
iliakats added a comment.
performance improvement: only do one round of highlighting (skip the one run
in the constructor of QSyntaxHighlighter)
REPOSITORY
R320 KIO Extras
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D25891?vs=71288&
iliakats added a reviewer: Dolphin.
REPOSITORY
R320 KIO Extras
REVISION DETAIL
https://phabricator.kde.org/D25891
To: iliakats, #dolphin
Cc: kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n,
MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh,
spo
iliakats created this revision.
Herald added projects: Dolphin, Frameworks.
Herald added subscribers: kfm-devel, kde-frameworks-devel.
iliakats requested review of this revision.
REVISION SUMMARY
When using a dark theme, plain text files without an associated highlighting
theme are rendered in