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

Text statistics placement conflicts with scroll position when searching #291

Closed
kannes opened this issue Jun 22, 2017 · 3 comments
Closed

Comments

@kannes
Copy link

kannes commented Jun 22, 2017

If document statistics are enabled they are displayed at the bottom of the text editor view. If one searches for text, retext will scroll the text editor view so that the matched text is in the last line. This is overlaid with the statistics, making work hard.

Maybe try to scroll on search so that the matched term is in the center of the text editor view? Or maybe make the statistics have some margin to the text editor view (I would prefer this so that it never overlays text).

@mitya57
Copy link
Member

mitya57 commented Sep 30, 2017

Should be fixed in the current master. @kannes @xgouchet please test.

@kannes
Copy link
Author

kannes commented Sep 30, 2017

It indeed now always keeps the cursor from search in the line above the statistics.

But I notice it overlays the very last line in a document so maybe I should add another issue? :D

I love this editor btw!

@mitya57
Copy link
Member

mitya57 commented Sep 30, 2017

Yes, please open a new issue. It may be more difficult to fix and I don’t have more time today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants