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

Add topspace-height function for use by external packages #15

Merged
merged 1 commit into from Apr 19, 2022

Conversation

trevorpogue
Copy link
Owner

Add public topspace-height function for use from external packages to allow them integrate more easily with topspace.

  • Returns the top space line height in the selected window
  • May be useful for example by any package trying to determine the distance in lines between the current line and top of the window (which is no longer guaranteed to be at window-start when using topspace).

Checklist

  • I have read the topspace contributing guidelines
  • My changes follow the Emacs Lisp conventions and the Emacs Lisp Style Guide
  • I've used the latest version of package-lint to check for packaging issues, and addressed its feedback
  • The new code is not generating bytecode warnings
  • I've updated the readme (if adding/changing user-visible functionality)
  • I have confirmed some of these without doing them

@trevorpogue trevorpogue added the enhancement New feature or request label Apr 19, 2022
@trevorpogue trevorpogue merged commit e6cc908 into main Apr 19, 2022
@trevorpogue trevorpogue deleted the topspace-height branch April 19, 2022 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant