Skip to content
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

allow the collapse of columns #2

Open
arademaker opened this issue Jan 26, 2018 · 7 comments
Open

allow the collapse of columns #2

arademaker opened this issue Jan 26, 2018 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@arademaker
Copy link

long columns such as FEATS could be collapsed for facilitate the analysis of the dependencies.

@odanoburu
Copy link
Owner

@arademaker
Copy link
Author

It looks like all modes that implement this function use the basic Emacs https://www.gnu.org/software/emacs/manual/html_node/elisp/Invisible-Text.html#Invisible-Text capability.

@odanoburu odanoburu added the help wanted Extra attention is needed label Jan 30, 2018
@odanoburu
Copy link
Owner

@arademaker I seem to have got it to work in branch hide-cols. would you mind testing it?

@odanoburu
Copy link
Owner

hum, actually there is at least one problem -- when editing right next to the collapsed field the inserted text becomes part of it. I think I know how to handle this, let's see...

if you don't do that everything seems fine, if you want to check it out!

@odanoburu
Copy link
Owner

odanoburu commented Feb 3, 2018

seems ok now 6268c00

@arademaker
Copy link
Author

The hide/show is working, but not playing well with the align of columns. A hide field would not interfere in the alignment.

@odanoburu
Copy link
Owner

@arademaker indeed. I hoped it would be simply a miscalculation of column widths when they were invisible, but I just checked, and it is not so. it must be something in the overlays, but I wouldn't know what, as I'm not familiar with them yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants