Re: Using text properties to show rendered documents

2019-06-08 Fir de Conversatie John Little
On Sunday, June 9, 2019 at 3:20:23 AM UTC+12, Paul Jolly wrote: > > Why not just use :self markdown. and a markdown syntax file? > > Apologies, I'm probably missing something obvious here; but what is > the :self command? The obvious typo, surely :setf markdown? regards, John Little -- -- You

Patch 8.1.1501

2019-06-08 Fir de Conversatie Bram Moolenaar
Patch 8.1.1501 Problem:New behavior of b:changedtick not tested. Solution: Add a few test cases. (Daniel Hahler) Files: src/testdir/test_changedtick.vim *** ../vim-8.1.1500/src/testdir/test_changedtick.vim2017-02-21 20:39:05.0 +0100 --- src/testdir/test_changedtick.vim

Re: Patch 8.1.1492

2019-06-08 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2019/6/8 Sat 19:05:45 UTC+9 Bram Moolenaar wrote: > > Patch 8.1.1492 > > Problem:MS-Windows: when "!" is in 'guioptions' ":!start" fails. > > Solution: Do not use a terminal window when the shell command begins with > > "!start". (Yasuhiro Matsumoto, closes

Patch 8.1.1500

2019-06-08 Fir de Conversatie Bram Moolenaar
Patch 8.1.1500 Problem:Wrong shell command when building with VIMDLL and "!" in 'guioptions'. Solution: Add check for GUI in use. (Ken Takata) Files: src/misc2.c *** ../vim-8.1.1499/src/misc2.c 2019-06-08 12:05:18.696163864 +0200 --- src/misc2.c 2019-06-08 20:13:54.193434

Patch 8.1.1499

2019-06-08 Fir de Conversatie Bram Moolenaar
Patch 8.1.1499 Problem:Ruler not updated after popup window was removed. Solution: use popup_mask in screen_puts(). Files: src/screen.c, src/testdir/test_popupwin.vim, src/testdir/dumps/Test_popupwin_07.dump, src/testdir/dumps/Test_popupwin_08.dump *** ../vim-

Patch 8.1.1498

2019-06-08 Fir de Conversatie Bram Moolenaar
Patch 8.1.1498 Problem:":write" increments b:changedtick even though nothing changed. (Daniel Hahler) Solution: Only increment b:changedtick if the modified flag is reset. Files: src/change.c, src/proto/change.pro, runtime/doc/eval.txt, src/buffer.c, src/ex_cmds

Patch 8.1.1497

2019-06-08 Fir de Conversatie Bram Moolenaar
Patch 8.1.1497 Problem:Accessing memory beyond allocated space. Solution: Check column before accessing popup mask. Files: src/screen.c *** ../vim-8.1.1496/src/screen.c2019-06-08 16:55:12.139336495 +0200 --- src/screen.c2019-06-08 17:23:29.780392057 +0200

Re: Using text properties to show rendered documents

2019-06-08 Fir de Conversatie Paul Jolly
> Why not just use :self markdown. and a markdown syntax file? Apologies, I'm probably missing something obvious here; but what is the :self command? -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more inform

Patch 8.1.1496

2019-06-08 Fir de Conversatie Bram Moolenaar
Patch 8.1.1496 Problem:Popup window height is not recomputed. Solution: Recompute the height when needed. Files: src/popupwin.c, src/testdir/dumps/Test_popupwin_06.dump *** ../vim-8.1.1495/src/popupwin.c 2019-06-08 16:01:10.643493653 +0200 --- src/popupwin.c 2019-06-08 17:0

Patch 8.1.1495

2019-06-08 Fir de Conversatie Bram Moolenaar
Patch 8.1.1495 (after 8.1.1494) Problem:Memory access error. Solution: Use the correct size for clearing the popup mask. Files: src/screen.c *** ../vim-8.1.1494/src/screen.c2019-06-08 16:01:10.643493653 +0200 --- src/screen.c2019-06-08 16:51:46.192412305 +0200 ***

Patch 8.1.1494

2019-06-08 Fir de Conversatie Bram Moolenaar
Patch 8.1.1494 (after 8.1.1493) Problem:Build failure. Solution: Add missing changes. Files: src/structs.h *** ../vim-8.1.1493/src/structs.h 2019-06-03 21:14:55.125048909 +0200 --- src/structs.h 2019-06-08 15:50:01.354385488 +0200 *** *** 1991,1996 --- 19

Patch 8.1.1493

2019-06-08 Fir de Conversatie Bram Moolenaar
Patch 8.1.1493 Problem:Redrawing with popups is slow and causes flicker. Solution: Avoid clearing and redrawing using a zindex mask. Files: src/globals.h, src/screen.c, src/proto/screen.pro, src/popupwin.c, src/popupmnu.c *** ../vim-8.1.1492/src/globals.h 2019-06-02

Re: Patch 8.1.1492

2019-06-08 Fir de Conversatie Ken Takata
Hi, 2019/6/8 Sat 19:05:45 UTC+9 Bram Moolenaar wrote: > Patch 8.1.1492 > Problem:MS-Windows: when "!" is in 'guioptions' ":!start" fails. > Solution: Do not use a terminal window when the shell command begins with > "!start". (Yasuhiro Matsumoto, closes #4504) > Files:

Re: How about sound?

2019-06-08 Fir de Conversatie 'Lifepillar' via vim_dev
On 6 Jun 2019, at 11:59, Bram Moolenaar wrote: > > It appears libcanberra is widely available. My system also has the -dev > package installed (I didn't do that, perhaps because of a gtk > dependency). I could not find something for autoconf though. But I > expect it to be simple. > >> I've n

Re: How about sound?

2019-06-08 Fir de Conversatie 'Lifepillar' via vim_dev
> don’t use system commands, it’s a waste of resources and likely too slow; To be clear, here I meant tricks like system('play’). I think (but I haven’t really verified) that communication with an efficient server via jobs would be good enough. > I have also been searching for small, portable

Re: Using text properties to show rendered documents

2019-06-08 Fir de Conversatie Ben Jackson
On Thursday, June 6, 2019 at 3:57:41 PM UTC+1, Paul Jolly wrote: > Hi all, > > I'm somewhat/extremely behind on the text properties work, which looks > very exciting. > > In the context of govim (https://github.com/myitcv/govim), I'm > considering using text properties as a way of showing a simpl

Patch 8.1.1492

2019-06-08 Fir de Conversatie Bram Moolenaar
Patch 8.1.1492 Problem:MS-Windows: when "!" is in 'guioptions' ":!start" fails. Solution: Do not use a terminal window when the shell command begins with "!start". (Yasuhiro Matsumoto, closes #4504) Files: src/misc2.c, src/os_win32.c *** ../vim-8.1.1491/src/misc2.c 2019-0

Re: How about sound?

2019-06-08 Fir de Conversatie 'Nicola Vitacolonna' via vim_dev
On 4 Jun 2019, at 15:07, Bram Moolenaar wrote: > > > I have been wondering if it would help if Vim could play a sound. Think > of a gentle "ping" to indicate the cursor can't move there, or a > "tadaa" when a background build finishes successfully. At least I have > had times where I didn't no

Re: Patch for fixing an issue with hitest.vim

2019-06-08 Fir de Conversatie 'Lifepillar' via vim_dev
On 6 Jun 2019, at 10:04, Scutum wrote: > > On 5 Jun 2019, at 16:56, 'Lifepillar' wrote: >> >> The enclosed patch adds the changes you mention. >> >> The attached patch uses silent! also on the added command. >> >> About the slowness: I have made some more tests and when there are many >> high