Even if I insert/remove lines example, it is blinking ! :)
Le vendredi 6 décembre 2019 23:52:43 UTC+1, Ni Va a écrit :
-- Le vendredi 6 décembre 2019 23:52:43 UTC+1, Ni Va a écrit :
I think I see text blinking....func! BlinkText()fun! MyHandler(timer) "{{{if !exists('g:flipflop')let g:flipflop = 0endifif !g:flipfloplet g:flipflop = 1hi Blink guifg=#222222 guibg=#e4e4e4elselet g:flipflop = 0hi Blink guifg=#e4e4e4 guibg=#e4e4e4endifsyn match pattern /123/hi def link pattern Blinkcall prop_clear(11)call prop_type_delete('foo')call prop_type_add('foo', {'highlight': 'Blink'})call prop_add(11, 12, {'length': 3, 'type': 'foo'})endfunction "}}}let timer = timer_start(500, 'MyHandler',\ {'repeat': -1})endfuncnnoremap <F7> :call BlinkText()<cr>Ok it's not perfect, not terminated yet but it blinks!No working longer when I add/remove lines in buffer because of using properties!And working only on one pattern matched : here it is 123But with help I think it is possible.
Le vendredi 6 décembre 2019 21:33:01 UTC+1, Ni Va a écrit :I helpgreped and search on some forums before asking but I hoped.and always hope maybe by inverting syntax highlight of the wanted blinking pattern schedule by timer and redrawingno ? bad way ?
Le vendredi 6 décembre 2019 20:11:21 UTC+1, aro...@vex.net a écrit :> Hopefully not
>
I think I'm with Christian on this one. :-)*
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/f91b3363-c9f9-427b-97b3-526bffdf955a%40googlegroups.com.
No comments:
Post a Comment