Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Some improvement on ghc-show-type #480

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

iquiw
Copy link
Contributor

@iquiw iquiw commented May 23, 2015

The first commit introduces new face instead of region face since region face confuses user that it is normal region (while it is not actually).

The second commit reduces this confusion to make C-w and M-w work as in normal region.
Also M-t copies the type string to kill ring.

iquiw added 2 commits May 23, 2015 11:18
It can be customized by "ghc-type-region" face.
Region selected by ghc-show-type can be copied or killed by "C-w" or
"M-w" respectively.
The type string can be copied by "M-t".
@@ -31,10 +31,25 @@
;;; type
;;;

(defface ghc-type-region
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This face makes text under it quite unreadable, at least with my theme. How about we use an underline face or something less intrusive instead? Or maybe base the default colors for this theme on ones from the default faces of the current theme and modify them a bit.

@iquiw
Copy link
Contributor Author

iquiw commented May 25, 2015

I think your comments are reasonable, but I cannot do the change by myself anytime soon.

Feel free to close this PR.

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

Successfully merging this pull request may close these issues.

None yet

2 participants