Bug 468413

Summary: Can not turn off text highlighting
Product: [Applications] kate Reporter: Dave Kolars <dkolars>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: p.r.worrall
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dave Kolars 2023-04-12 04:41:59 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open file with song lyrics (format is .txt or .pro)
2. File opens
OBSERVED RESULT
Any time the word "for" exists, it is made bold.

EXPECTED RESULT
NO bold text!
I have set the Highlighting to NONE in the Tools menu, but when opening files, it always highlights the word "for"  Enuf to drive one nuts.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 22.04.2 LTS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Also have major problems with Krusader, keyboard action conflicts... related?
Comment 1 Paul Worrall 2023-04-13 07:08:22 UTC
Kate has a comprehensive and flexible system for adjusting its settings based on the file that's loaded, have you looked at:

https://docs.kde.org/stable5/en/kate/katepart/config-dialog.html#pref-open-save-modes-filetypes
https://docs.kde.org/stable5/en/kate/katepart/config-variables.html

I think what you want is to set "kate: syntax None", maybe using a .kateconfig file in the directory where your lyrics files are stored, but there are other ways documented.