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
After changing the EOL for a file, both the associated menu item and status bar panel do not correctly display the new EOL.
What steps will reproduce the problem?
Open a file with Windows EOL. (This bug can be reproduced with any initial EOL. I simply chose one to make the reproduction steps concrete.)
Select Source > Convert end-of-line characters > Line feed (UNIX).
What is the expected output?
The Source > Convert end-of-line characters > Carriage return and line feed (Windows) menu item is unchecked.
The Source > Convert end-of-line characters > Line feed (UNIX) menu item is checked.
The End-of-lines status bar panel displays LF.
What do you see instead?
The Source > Convert end-of-line characters > Carriage return and line feed (Windows) menu item is checked.
The Source > Convert end-of-line characters > Line feed (UNIX) menu item is checked.
The End-of-lines status bar panel displays CRLF.
Please provide any additional information below
The menu item continues to display the incorrect EOL until Spyder is restarted.
The status bar panel is updated with the correct EOL if you open any menu (e.g. File) and then close it.
The status bar panel is updated with the correct EOL if Spyder loses focus and subsequently regains it (e.g. ALT+TAB to a different window and then ALT+TAB back).
The status bar panel is updated with the correct EOL after saving the file.
Version and main components
Spyder Version: 2.3.4
Python Version: 3.4.3
Qt Version : 4.8.6, PyQt4 (API v2) 4.11.3 on Windows
Created PR #2393 for this issue. Please see my comments in part (3) of the commit message regarding the quality of that portion of this fix. I'm sure there's a better way to do it.
Description
After changing the EOL for a file, both the associated menu item and status bar panel do not correctly display the new EOL.
Version and main components
Optional dependencies
pyflakes >=0.6.0: 0.8.1 (OK)
pep8 >=0.6 : 1.6.2 (OK)
IPython >=1.0 : 3.0.0 (OK)
zmq >=2.1.11 : 14.5.0 (OK)
pygments >=1.6 : 2.0.2 (OK)
pandas >=0.13.1 : 0.16.0 (OK)
sphinx >=0.6.6 : None (NOK)
rope >=0.9.2 : 0.9.4-1 (OK)
jedi >=0.8.1 : None (NOK)
matplotlib >=1.0: 1.4.3 (OK)
sympy >=0.7.3 : 0.7.6 (OK)
pylint >=0.25 : 1.4.3 (OK)
The text was updated successfully, but these errors were encountered: