Highlight text using shortcuts

Hi all,
Does anyone knows a way to rapidly highlight text parts in the matlab editor using colors or bold fond?
Regards, david

Answers (1)

Aniket
Aniket on 6 Mar 2025
Hi @DavyG,
I am assuming you want to highlight text in editor and not the code. Text can be highlighted in Live Editor (.mlx) files using bold, italics and other formatting options. These can be customised using Preference Panel --> MATLAB --> Editor/Debugger --> Autoformatting. Standard keyboard shortcuts (Ctrl+B, Ctrl+I, etc.) can also be used for the same.
Ctrl+F (Find feature) can be used to search for specific text, and MATLAB will highlight all occurrences of that text.
I hope this answers your query!

Categories

Find more on Environment and Settings in Help Center and File Exchange

Asked:

on 2 Jun 2017

Answered:

on 6 Mar 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!