No colors in the file editor when using high contrast on windows 11
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Zohar
am 29 Mai 2025
Kommentiert: Divyajyoti Nayak
am 2 Jun. 2025
It's only white text on black background:
- Syntax isn't highlighted.
- There's no indication for a selected text.
There wasn't an issue in earlier versions.
2 Kommentare
Akzeptierte Antwort
Divyajyoti Nayak
am 2 Jun. 2025
Bearbeitet: Divyajyoti Nayak
am 2 Jun. 2025
Hi @Zohar
MATLAB Desktop doesn't fully support the high contrast mode. However, it is possible to opt out of the high contrast mode for the MATLAB Editor only through the following workaround:-
1. Close MATLAB.
2. Locate your MATLAB installation. On Windows this will likely be at 'C:\Program Files\MATLAB\R2023b'.
3. Replace the contents in 'C:\Program Files\MATLAB\R2023b\toolbox\matlab\editor\application\index.html' file with the attached "index" file.
4. Open MATLAB.
5. Open an Editor tab and the syntax highlighting should work as expected.
2 Kommentare
Divyajyoti Nayak
am 2 Jun. 2025
Hi @Zohar, I had missed to attach the file, which I have now attached to the answer. Sorry about that.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Environment and Settings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!