Mateo
Mateo

Reputation: 158

How to disable green highlight in Spyder

does anybody knows how to disable the green highlight in Spyder editor as I show in the picture below? Thanksenter image description here

Upvotes: 1

Views: 1364

Answers (2)

Carlos Cordoba
Carlos Cordoba

Reputation: 34156

(Spyder maintainer here) This is caused by a bug in our code. It'll be fixed in our 4.2.0 version, to be released in November 2020.

In the meantime, the solution is to reactivate the option Highlight current line, present in the menu Tools > Preferences > Editor > Display.

Upvotes: 0

A Haworth
A Haworth

Reputation: 36566

Spyder has many settings which the user can change.

In Preferences>Tools>Appearance>Edit Selected Scheme we can select the colors of several highlights, including current cell. (followed by OK then Apply, which can take a few seconds, then OK).

Setting this to #19232d (which seems to be the color of the overall dark theme background) at least gives the appearance of highlighting having been stopped.

There seems to be no way of setting such a color to transparent (in the CSS sense).

Under Tools>Preferences>Editor it seems as though we can unset highlighting of the current cell, but this appears to get overwritten by the Highlight Occurrences after selection, and setting that to something huge in the hopes it would not kick in did not seem to work.

However, I do not claim to be a Spyder expert and would welcome feedback from those who are and who perhaps know of ways of stopping highlighting in certain areas completely.

Upvotes: 1

Related Questions