question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Show vertical line at maximum allowed line length does not respect max allowed line length at startup

See original GitHub issue

Issue 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 (or pip, 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?

  1. Change the vertical line location in the Editor by changing the max allowed line length in the Preferences.
  2. Notice that the vertical line changes position, as expected.
  3. Quit and reopen Spyder
  4. 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:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Cuahchiccommented, May 20, 2021

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.

0reactions
ccordoba12commented, Nov 27, 2021

I just noticed that when I change the max allowed line length in the settings, the vertical line only changes in the active panel. In other open panels it stays at 79 characters.

Hey @joooeey, thanks for mentioning this! I’ll fix it as part of this issue too.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found