prop_find extension

2023-02-02 Fir de Conversatie Ernie Rael
I want to determine what text property, if any, is under the mouse position. The best options seems to be prop_find({lnum: mpos.line, col: mpos.column, ...}) and then check if the returned property covers the mouse position. I am wondering about having an "exact: true" option in prop_find's

Re: Class implementation

2023-02-02 Fir de Conversatie Ernie Rael
On 23/02/02 9:28 AM, Bram Moolenaar wrote: Doug Kearns wrote: I was just looking at the constructor documentation and noticed that the default constructor includes parameters for each field in the order they were declared. Having to change all the constructor call sites when reordering field d

Re: Class implementation

2023-02-02 Fir de Conversatie Bram Moolenaar
Doug Kearns wrote: > I was just looking at the constructor documentation and noticed that the > default constructor includes parameters for each field in the order they > were declared. Having to change all the constructor call sites when > reordering field declarations seems like a probable so

Patch 9.0.1275

2023-02-02 Fir de Conversatie Bram Moolenaar
Patch 9.0.1275 Problem:The code for setting options is too complicated. Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis Russell, closes #11932) Files: src/option.c, src/optionstr.c *** ../vim-9.0.1274/src/option.c2023-01-25 15:04:17.939549253

Re: Class implementation

2023-02-02 Fir de Conversatie Doug Kearns
On Sun, 15 Jan 2023 at 02:34, Bram Moolenaar wrote: > > Most of the implementation of classes has been done. Feel free to give > it a try. You might run into something that is still a todo item, or a > bug. Please report this in a reproducible way. > > This is a good moment to evaluate the cur

Patch 9.0.1274

2023-02-02 Fir de Conversatie Bram Moolenaar
Patch 9.0.1274 Problem:FIRRTL files are not recognized. Solution: Add a pattern for FIRRTL files. (Amaan Qureshi, closes #11931) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1273/runtime/filetype.vim2023-02-01 15:31:20.267541980 + --- runtime