MATLAB Answers

Editor window cursor line is highlighted - how to disable?

38 views (last 30 days)
Initial Conditions
Initial Conditions on 25 Apr 2016
Hi folks. I was playing around with Matlab display color schemes (mostly using a function from the file exchange called schemer_import.m). I've reverted back to the default.prf scheme, but now have an issue where the cursor line is constantly highlighted. I can't see an option in Preferences to revert this back to how is is by default - no highlight.
Any ideas?

Answers (1)

Arnab Sen
Arnab Sen on 29 Apr 2016
Hi Initial,
To Disable this current line highlight feature, do the following:
1. Go to MATLAB preference.
2. In the preference window, select 'Editor/Debugger->Display' from the left pane.
3. In the right pane, under 'General Display option' there is a checkbox called 'Highlight current line'. Uncheck this checkbox and click 'Apply' button.
This should fix the issue.
  1 Comment
Initial Conditions
Initial Conditions on 29 Apr 2016
Hi Arnab.
I think this would solve the issue generally, but my issue was down to a bug in the code I think. I got around it by downloading a different function from the File Exchange that ended up overwriting changes the old function had left. Thanks.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!