'Replace' shortcut in editor for R2022

In R2022, when I'm editing a mfile, is there a keyboard shortcut to replace text in the mfile? If I use CNTL F, the Find window opens and I have to manually select Replace from a dropdown menu. I think in R2021, the Find window had Replace already enabled, and maybe I could use CTRL R to replace text.

 Akzeptierte Antwort

Les Beckham
Les Beckham am 25 Apr. 2022

1 Stimme

Ctrl-H

6 Kommentare

KAE
KAE am 25 Apr. 2022
Bearbeitet: KAE am 25 Apr. 2022
This will save me a ton of time.
How did you find this? It's not listed here. (Just want to make sure I'm not missing out on other useful text editing functions).
Les Beckham
Les Beckham am 25 Apr. 2022
I don't remember having to find this. I've just always used it.
It is a pretty common shortcut for search-and-replace in a lot of different software (Microsoft Office, for example).
KAE
KAE am 25 Apr. 2022
I am glad to know about it, so thanks.
Les Beckham
Les Beckham am 25 Apr. 2022
You are quite welcome.
Jacky Tsai
Jacky Tsai am 26 Apr. 2022
In the "Find" dropdown you have a list of find actions, alongside their shortcuts. Below is a screenshot taken with a Windows machine.
KAE
KAE am 26 Apr. 2022
That's great, thanks.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

KAE
am 25 Apr. 2022

Kommentiert:

KAE
am 26 Apr. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by