We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
popup-tip ignore margin when beginning of line,and popup is disrupted when end of line. Here is the test code.
(ert-deftest popup-test-margin-at-left () (popup-test-with-temp-buffer (let ((popup (popup-tip "Margin?" :nowait t :margin t))) (with-current-buffer (popup-test-helper-get-overlays-buffer) (let ((points (popup-test-helper-match-points '(" Margin? ")))) (should (every #'identity points)) (should (equal (car (popup-test-helper-points-to-columns points)) 0)) ))))) (ert-deftest popup-test-margin-at-right () (popup-test-with-temp-buffer (insert (make-string (- (window-width) 1) ? )) (let ((popup (popup-tip "Margin?" :nowait t :margin t))) (with-current-buffer (popup-test-helper-get-overlays-buffer) (let ((points (popup-test-helper-match-points '(" Margin? ")))) (should (every #'identity points)) (should (equal (car (popup-test-helper-points-to-columns points)) (- (window-width) 9))) )))))
The text was updated successfully, but these errors were encountered:
Add test for auto-complete#18, auto-complete#19, auto-complete#20
2593e06
m2ym
No branches or pull requests
popup-tip ignore margin when beginning of line,and popup is disrupted when end of line.
Here is the test code.
The text was updated successfully, but these errors were encountered: