You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a File with .md extension (I'm not sure if happen with other extensions)
Press enter
What is the expected output? What do you see instead?
Some lines will throw an error
Please provide any additional information below
Traceback (most recent call last):
File "/home/rlaverde/code/spyder/spyder/widgets/sourcecode/codeeditor.py", line 2695, in keyPressEvent
cmt_or_str = self.in_comment_or_string()
File "/home/rlaverde/code/spyder/spyder/widgets/sourcecode/codeeditor.py", line 2392, in in_comment_or_string
current_color = self.__get_current_color()
File "/home/rlaverde/code/spyder/spyder/widgets/sourcecode/codeeditor.py", line 2384, in __get_current_color
color = current_format.foreground().color().name()
AttributeError: 'NoneType' object has no attribute 'foreground'
Versions and main components
Spyder Version: 3.x and master branch
The text was updated successfully, but these errors were encountered:
Description of your problem
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Some lines will throw an error
Please provide any additional information below
Versions and main components
The text was updated successfully, but these errors were encountered: