-
Notifications
You must be signed in to change notification settings - Fork 37
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
Insert state changes line height #60
Comments
This is a known issue on Windows and Mac. To turn off that behavior and have the fake cursors have the default cursor face set this variable |
Thanks, setting the XPM images as additional cursorsIf there aren't any downsides to using XPM images as the additional cursors. Then I might have found a solution to the Windows cursor issue. This question: http://stackoverflow.com/questions/23744237/emacs-how-to-create-a-vertical-strike-through-effect (let* ((img `(image :type xpm :mask nil :ascent center :data
"/* XPM */
static char * img_xpm[] = {
\"1 16 1 1\",
\"* c green\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\",
\"*\"};"))
(img-str (propertize " " 'display img))
(vertical-line-overlay (make-overlay (point) (1+ (point)))))
(overlay-put vertical-line-overlay 'before-string img-str)
(internal-show-cursor nil nil)
(sit-for 2)
(internal-show-cursor nil t)
(delete-overlay vertical-line-overlay)) Here's a comparison of the normal and insert state cursors, to the XPM image (with the cursor hidden). Where it worksThe XPM image looks the same in both Ubuntu and Windows. Terminals issue:XPM images probably won't work with text only terminals. Possible solution:
mask descriptorMaybe This page describes the |
Thanks, that definitely looks interesting. I'll look into using XPM images when I have some time. |
Description
In windows the line height changes when one enters and exits insert state.
It happens on any line with a multi cursor.
Windows 10
Ubuntu 16.10
It works as expected in Ubuntu.
System Info
The first animation for each OS shows: Emacs with the
evil-mc
package installed.The second animation shows: Spacemacs 0.200.9 (develop branch).
System 1:
Emacs 25.1.1
Windows 10
System 2 (Windows 10, Virtual box host OS):
Emacs 26.0.50
Ubuntu 16.10
The text was updated successfully, but these errors were encountered: