-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Issues on VimChangeCaretWidth #65
Comments
Strange, my Win 10 notepad was what I tested the feature in and it worked fine.
It is currently hooking into the same timer that the mode indicator icon uses. Ideally, both of these should instead detect a window change and update then, rather than periodically checking a timer. This is possible with AHK (I have written a library that can cal a callback function when the active window changes) but it is a little unreliable in some situations (like full-screen applications). We could look at implementing that instead, which would allow a once-off cursor change when an ahk disabled window is focused. |
Really? It may depend on the system (language...?) This gif shows how it works in my environment Why I do not want to enable VimChangeCaretWidth as default But maybe this happens only in my environment...? If so, maybe above my concerns are irrelevant. If it works differently in environments of yorus and mine, But I'm not sure on which environment it works on Notepad...? |
Yeah, that's a limitation of the current system. We can't know they have changed windows. |
Widnows Spy shows Notepad like:
|
What about the edit class? |
Do you mean |
Yeah, that's what I meant. Next time I'm on windows, I'll check it's the same on mine. I should also double check on the master branch rather than on my fork, JIC |
I am having a similar issue. When I move to applications which don't use vim_ahk, the caret width remains same as what I left in application under vim_ahk control (eg. Notepad). Is it possible to keep the caret width constant (i.e. Pipe) for non-relevant applications and only change caret width as per the mode in Applications under vim_ahk control only (Notepad, OneNote etc.) ? |
sorry, but I have no idea for now. It means, if we want to keep the caret width in others, |
I can confirm it isn't easy. I have a library for detecting a change in active window, but it doesn't exactly work flawlessly. We could integrate it, but I'd be concerned about how that would affect the stability of the rest of the application. |
@BlueDrink9 |
Caret width can be changed only on the specific applications: Wordpad, Word, OneNote, or Explorer. On Notepad, the caret width is kept but does not change.
For the most of other applications, the caret width is kept as original width.
When this option is enabled, the current window briefly loses focus when the mode is changed.
The text was updated successfully, but these errors were encountered: