Show vertical line at maximum allowed line length does not respect max allowed line length at startup
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole
(if console-related) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset
- Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
The vertical line indicating the maximum allowed line length does not respect the value in the preferences on startup.
What steps reproduce the problem?
- Change the vertical line location in the Editor by changing the max allowed line length in the Preferences.
- Notice that the vertical line changes position, as expected.
- Quit and reopen Spyder
- Notice that the vertical line in the Editor is again at 79; Preferences still indicates the previously entered maximum line length.
Versions
- Spyder version: 4.3.0.dev0 b4c0facea (bootstrap)
- Python version: 3.7.9 64-bit
- Qt version: 5.9.6
- PyQt5 version: 5.9.2
- Operating System: Darwin 19.6.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Vertical line not respecting min,max limits (matplotlib)
Notice the little red vertical line at x=110 . Why is it not respecting the min & max limits I set with ymin=0,...
Read more >Style analysis (pep8) max line length
I'm trying to relax the 79 character line limit. Changed Preferences->Editor->Display->Show vertical line after to 159: still getting warnings like "E501 line ......
Read more >The Black code style - Black 22.12.0 documentation
Line length In general, 90-ish seems like the wise choice. If you're paid by the line of code you write, you can pass...
Read more >How to setup a line length marker in vim/gvim?
Just execute this :set colorcolumn=72. You can also prefix the argument with - or + to put the marker that many columns to...
Read more >ENR 1.5 Holding, Approach, and Departure Procedures
A maximum airspeed of 310 KIAS is permitted in Climb-in-holding, ... The arrival hold is depicted using a “thin line” since it is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can confirm this issue still persists in 5.0.3. If I go into settings and change it the line will move, but at startup it’s incorrect.
Hey @joooeey, thanks for mentioning this! I’ll fix it as part of this issue too.