Automatic highlighting with split screen

4 visualizaciones (últimos 30 días)
Matthew Lang
Matthew Lang el 2 de Jul. de 2022
Comentada: Matthew Lang el 7 de Feb. de 2025
What happened to automatic variable highlighting? Just updated from 2020b and things used to look like this:
where I could just select the variable on the left side and then scroll way up to where the variable was declared/assigned on the right very easily w/o having to hunt or Ctrl+F it. Now, w/ 2022a, things look like this:
...no more highlighting on the right. When was that removed? Am I missing an extra option in the preferences somewhere?
I do love the alt+mouse vertical selection of 2022a (though I don't know why alt+shift+arrow box highlight navigation isn't present), but the variable highlighting on a split screen for very large scripts is a bit of a must have for me, so I might have to downgrade to the last version that still has it.
  4 comentarios
Matthew Lang
Matthew Lang el 21 de Feb. de 2024
Does this have any visibility? Just checked the latest version and it's still broken. I'd love to know if this is even on anyone's radar. Is there a bug report I should be putting this in?
Matthew Lang
Matthew Lang el 7 de Feb. de 2025
R2024b and it's still broken. Any visibility on this?

Iniciar sesión para comentar.

Respuestas (2)

Matthew Lang
Matthew Lang el 31 de Ag. de 2022
I checked each release and it looks like R2021a was the last release that supported cross-split variable highlighting. Any chance this could be added back in for a future release?
  2 comentarios
Benjamin Tessler
Benjamin Tessler el 25 de Jul. de 2023
I'd also appreciate this being an option
Voss
Voss el 21 de Feb. de 2024
I agree it's very useful to have the highlighting synchronized on both sides of a split, rather than independent highlighting on each side.

Iniciar sesión para comentar.


Krishna
Krishna el 2 de Jul. de 2022
Hi Matthew,
I tried to reproduce it at my end and the automatic variable highlighting was working fine for the version 2022a.
Check out the below blog to know more about Automatic Variable Highlighting.
  2 comentarios
Matthew Lang
Matthew Lang el 2 de Jul. de 2022
Thanks Krishna,
To be clear, auto highlighting works fine within a single window, it's just in split screen (same script on left & right sides @ different vertical positions) that highlighting a variable on one side no longer highlights all the instances of that variable on the other side. Unfortunately, that blog is rather old and doesn't have anything about split screen. I have highlighting turned on and it works, just not w/ split screen like it did by default in 2020b.
Matthew Lang
Matthew Lang el 14 de Jul. de 2022
Would you post a screenshot of your 2022a version highlighting a variable on both sides of a left/right splitscreen?

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by