8000 foldtext gets truncated when "relativenumber" is set. · Issue #519 · python-mode/python-mode · GitHub
[go: up one dir, main page]

Skip to content
8000

foldtext gets truncated when "relativenumber" is set. #519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sscherfke opened this issue Jan 9, 2015 · 2 comments
Closed

foldtext gets truncated when "relativenumber" is set. #519

sscherfke opened this issue Jan 9, 2015 · 2 comments
Labels

Comments

@sscherfke
Copy link
Contributor

When set relativenumber is set and I fold a, e.g., a function, instead of

def fn()------42---

I get

def fn()----------4

as foldtext for foldet blocks.

Everything works fine if I use set number instead of relative numbers. I guess you only check for number but not relativenumber when calculating the window width?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

klen added a commit that referenced this issue Jan 15, 2015
Fix issue #519 – fold text truncated when relativenumber is set.
@stale
Copy link
stale bot commented Feb 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Feb 13, 2018
@stale
Copy link
stale bot commented Mar 6, 2018

Closed due to inactivity.

@stale stale bot closed this as completed Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant
0