gabesoft / evil-mc

Multiple cursors implementation for evil-mode
MIT License
383 stars 35 forks source link

fake cursors not visible right after selection to cursors #103

Closed duianto closed 3 years ago

duianto commented 4 years ago

Description :octocat:

Creating cursors from a selection doesn't show the fake cursors until one exits to normal state or moves the cursors C-f C-b in insert state.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart:

In Spacemacs

grI

beg

The cursors seem to be there, because they are changing the color of the first letters a with the fake cursor color.

The cursors appear after pressing Esc:

beg esc

The cursors also appear if they are moved forwards C-f (or backwards C-b):

beg forward char

grA

end

The cursors appear after pressing Esc:

end esc

Without Spacemacs:

The cursors are visible without Spacemacs:

without spacemacs beg

But the first characters are covered, as if the cursors were in normal state.

Moving them forwards C-f seems to update them and now the following characters are pushed one step to the right:

without spacemacs beg forward char

Expected behaviour: :heart: :smile:

The fake cursors should be visible right after creating the cursors from a selection.

System Info :computer:

twlz0ne commented 3 years ago
(setq evil-mc-enable-bar-cursor nil)
(set-face-background 'evil-mc-cursor-default-face (face-background 'highlight))
duianto commented 3 years ago

This seems to have been fixed since it was reported. The cursors appear right after pressing: grI or grA

Windows 10, System Info (Click to expand)
#### System Info :computer:
- OS: windows-nt
- Emacs: 27.1
- Spacemacs: 0.300.0
- Spacemacs branch: develop (rev. 234144853)
- Graphic display: t
- Distribution: spacemacs
- Editing style: vim
- Completion: helm
- Layers:
```elisp
(auto-completion autohotkey emacs-lisp git helm multiple-cursors
                 (org :variables org-agenda-files
                      '("c:/Users/username/org/"))
                 shell spell-checking syntax-checking treemacs version-control)
```
- System configuration features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP