Re: Patch 8.1.1146

2019-05-13 Fir de Conversatie Ken Takata
Hi, 2019/5/14 Tue 5:58:30 UTC+9 Jason Franklin wrote: > Bram, > > Thank you so much for taking the time to work with me on this. > > Unfortunately, I still can't get the colors to match on the latest build > (patch 8.1.1330). I should note that the color scheme is much closer than it > was be

CursorLineMoved

2019-05-13 Fir de Conversatie Edward Peschko
All, I'd like to be able to write a macro that could be triggered each time the line changed - so that I could write an autocmd to say automatically split a logfile in vim that has stack traces to show the corresponding code for each line in that stack trace. However, the closest thing that w

Re: Listener functionality

2019-05-13 Fir de Conversatie Bram Moolenaar
I wrote: > Paul Jolly wrote: > > > > Yesterday I sent out patch 8.1.1321 which adds listener_add(). > > > This makes it possible to find out about text changes and possibly > > > update text properties or anything else. > > > > Hi Bram - this is fantastic, thanks. I look forward to giving this

Re: Listener functionality

2019-05-13 Fir de Conversatie Bram Moolenaar
Paul Jolly wrote: > > Yesterday I sent out patch 8.1.1321 which adds listener_add(). > > This makes it possible to find out about text changes and possibly > > update text properties or anything else. > > Hi Bram - this is fantastic, thanks. I look forward to giving this a try with > https://g

Re: Patch 8.1.1146

2019-05-13 Fir de Conversatie Bram Moolenaar
Jason Franklin wrote: > I rewrote my script to be much simpler. It shows both the escape codes > being printed and > the word "example" in each color. > > > In your screenshots the bold colors are clearly wrong. > > I discovered this was caused by a GNOME Terminal setting called "Show bold >

Patch 8.1.1330

2019-05-13 Fir de Conversatie Bram Moolenaar
Patch 8.1.1330 Problem:Using bold attribute in terminal changes the color. (Jason Franklin) Solution: Don't set the "bold-highbright" flag in vterm unless the terminal supports less than 16 colors. Files: src/terminal.c, src/testdir/test_terminal.vim,

Re: Listener functionality

2019-05-13 Fir de Conversatie Paul Jolly
> Understood. One relatively easy way to handle this is to handle the changes > in reverse, i.e. by iterating through the list backwards. But I think this > requires that the changes themselves be non-overlapping. I actually misunderstood what you said here, so please ignore the question :) Now

Re: Listener functionality

2019-05-13 Fir de Conversatie Paul Jolly
> Yesterday I sent out patch 8.1.1321 which adds listener_add(). > This makes it possible to find out about text changes and possibly > update text properties or anything else. Hi Bram - this is fantastic, thanks. I look forward to giving this a try with https://github.com/myitcv/govim and gopls.