comparison runtime/doc/todo.txt @ 17667:95c23e180022

Update runtime files. commit https://github.com/vim/vim/commit/088e8e3443520dec91a384081e66445a104810bb Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 8 22:15:18 2019 +0200 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Thu, 08 Aug 2019 22:30:08 +0200
parents 2704c4e3e20a
children f2c2f9126a82
comparison
equal deleted inserted replaced
17666:460af4da8fa6 17667:95c23e180022
1 *todo.txt* For Vim version 8.1. Last change: 2019 Jul 30 1 *todo.txt* For Vim version 8.1. Last change: 2019 Aug 08
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
36 browser use: https://github.com/vim/vim/issues/1234 36 browser use: https://github.com/vim/vim/issues/1234
37 (replace 1234 with the issue/pull number) 37 (replace 1234 with the issue/pull number)
38 *known-bugs* 38 *known-bugs*
39 -------------------- Known bugs and current work ----------------------- 39 -------------------- Known bugs and current work -----------------------
40 40
41
42 Methods:
43 - Support lambda? #4768
44 echo (10.0 / 100.0)->{x -> x * 100}
45 - Define a user defined function for a specific type only?
46 func Len(expr) method=list,dict
47 return a:expr->len()
48 endfunc
49 echo [1, 2, 3]->Len()
50 3
51 call Len([1, 2, 3])
52 error!
53
41 Popup windows: 54 Popup windows:
42 - Always show the right border, not only when there is a close button? 55 - :pedit from help doesn't reset help flag, see pedit example
43 - bug: double click in scrollbar starts selection 56 - check popupmenu using preview window
44 - modeless selection fails over ssh and with putty. Mouse dragging not 57 - modeless selection fails over ssh and with putty. Mouse dragging not
45 supported? Can we force it on? 58 supported? Can we force it on?
46 - Allow resizing from the bottom-right corner 59 - modeless selection extends into the scrollbar. (#4773)
47 - Implement flip option 60 - Implement flip option
48 - Have a way to scroll to the bottom, e.g. set 'firstline' to -1? (#4577) 61 - Have a way to scroll to the bottom, e.g. set 'firstline' to -1? (#4577)
49 - Why does 'nrformats' leak from the popup window buffer??? 62 - Why does 'nrformats' leak from the popup window buffer???
50 Happens in Test_simple_popup() at the second screendump. 63 Happens in Test_simple_popup() at the second screendump.
51 - Disable commands, feedkeys(), CTRL-W, etc. in a popup window. 64 - Disable commands, feedkeys(), CTRL-W, etc. in a popup window.
55 buffer numbers? 68 buffer numbers?
56 - Have an option to attach the popup to a text position, like text properties 69 - Have an option to attach the popup to a text position, like text properties
57 do. (#4560) 70 do. (#4560)
58 - Make redrawing more efficient and avoid flicker: 71 - Make redrawing more efficient and avoid flicker:
59 - put popup menu also put in popup_mask? 72 - put popup menu also put in popup_mask?
60 - Invoke filter with character before mapping? 73 - Invoke filter with character before mapping? #4759
61 - Figure out the size and position better. 74 - Figure out the size and position better.
62 if wrapping splits a double-wide character 75 if wrapping splits a double-wide character
63 if wrapping inserts indent 76 if wrapping inserts indent
64 - When drawing on top half a double-wide character, display ">" or "<" in the 77 - When drawing on top half a double-wide character, display ">" or "<" in the
65 incomplete cell. 78 incomplete cell.
133 - For the GUI fill termios with default values, perhaps like pangoterm: 146 - For the GUI fill termios with default values, perhaps like pangoterm:
134 http://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/head:/main.c#L134 147 http://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/head:/main.c#L134
135 - When 'encoding' is not utf-8, or the job is using another encoding, setup 148 - When 'encoding' is not utf-8, or the job is using another encoding, setup
136 conversions. 149 conversions.
137 150
138 Error numbers available: E260, E274, E275, E276, 151 Error numbers available: E274, E275, E276,
139 E278, E279, E290, E292, E362, E366, E450, E451, E452, 152 E278, E279, E290, E292, E362, E366, E450, E451, E452,
140 E453, E454, E460, E489, E491, E565, E578, E610, E611, E653, 153 E453, E454, E460, E489, E491, E565, E578, E610, E611, E653,
141 E654, E856, E857, E860, E861, E863, E889, E900 154 E654, E856, E857, E860, E861, E863, E889, E900
142
143 Patch on issue #4661 to fix resolve(). (Ken Takata)
144 https://gist.github.com/k-takata/52d0a677ca9a27bdbaed21d77533244e
145
146 Patch to split of map.c from getchar.c (Yegappan, #4740)
147 155
148 Sound: support on Mac? Or does libcanberra work there? 156 Sound: support on Mac? Or does libcanberra work there?
149 157
150 Patch to add win_splitmove() function. (Andy Massimino, #4561) 158 Patch to add win_splitmove() function. (Andy Massimino, #4561)
151 159
186 goes to any buffer, and then :bnext skips help buffers, since they are 194 goes to any buffer, and then :bnext skips help buffers, since they are
187 unlisted. (#4478) 195 unlisted. (#4478)
188 196
189 Make 'showbreak' global-local. 197 Make 'showbreak' global-local.
190 198
199 The :syntax cchar value can only be a single character. It would be useful to
200 support combining characters. (Charles Campbell) Also #4687
201
191 Problem showing a line if the number column width changes when using "o". 202 Problem showing a line if the number column width changes when using "o".
192 (Mateusz Morusiewicz, #4245) 203 (Mateusz Morusiewicz, #4245)
193 204
194 When using :packadd for a replacement language plugin, it is loaded after the 205 When using :packadd for a replacement language plugin, it is loaded after the
195 default one. #4698 206 default one. #4698
196 207
197 When using :packadd files under "later" are not used, which is inconsistent 208 When using :packadd files under "later" are not used, which is inconsistent
198 with packages under "start". (xtal8, #1994) 209 with packages under "start". (xtal8, #1994)
210
211 Modeless selection doesn't work in gvim. (#4783)
199 212
200 Visual highlight not removed when 'dipslay' is "lastline" and line doesn't 213 Visual highlight not removed when 'dipslay' is "lastline" and line doesn't
201 fit. (Kevin Lawler, #4457) 214 fit. (Kevin Lawler, #4457)
202 215
203 Does not build with MinGW out of the box: 216 Does not build with MinGW out of the box:
219 When a terminal exit_cb closes the window, a following typed key is lost, if 232 When a terminal exit_cb closes the window, a following typed key is lost, if
220 it's in a mapping. (2018 Oct 6, #2302, #3522) 233 it's in a mapping. (2018 Oct 6, #2302, #3522)
221 234
222 Patch for Inno Setup: #2739 235 Patch for Inno Setup: #2739
223 236
237 Would be nice to set tab-local values for 'diffexpr' and 'diffopt'. Use
238 t:diffexpr_option t:diffopt_option? (#4782)
239
224 Internal diff doesn't handle binary file like external diff does. (Mike 240 Internal diff doesn't handle binary file like external diff does. (Mike
225 Williams, 2018 Oct 30) 241 Williams, 2018 Oct 30)
242
243 '[ mark in wrong column after put. (#4776)
226 244
227 "exepath('bin/cmd')" does not work while ":!bin/cmd" does work. 245 "exepath('bin/cmd')" does not work while ":!bin/cmd" does work.
228 (Daniel Hahler, #4710) and executable('bin/cmd') returns 1 246 (Daniel Hahler, #4710) and executable('bin/cmd') returns 1
229 247
230 Problem with :tlmenu: Detach item added with all modes? Issue #3563. 248 Problem with :tlmenu: Detach item added with all modes? Issue #3563.
241 259
242 ":registers" should indicate char/block/linewise. (Ayberk Aydin, #4546) 260 ":registers" should indicate char/block/linewise. (Ayberk Aydin, #4546)
243 261
244 Patch for ambiguous width characters in libvterm on MS-Windows 10. 262 Patch for ambiguous width characters in libvterm on MS-Windows 10.
245 (Nobuhiro Takasaki, #4411) 263 (Nobuhiro Takasaki, #4411)
264
265 Window size changes after closing a tab. (#4741)
246 266
247 Problem with colors in terminal window. (Jason Franklin, 2019 May 12) 267 Problem with colors in terminal window. (Jason Franklin, 2019 May 12)
248 268
249 Lifepillar: Updated/cleaned up color schemes: 269 Lifepillar: Updated/cleaned up color schemes:
250 https://github.com/lifepillar/vim8-colorschemes. 270 https://github.com/lifepillar/vim8-colorschemes.
277 (Jakson A. Aquino, 2006 Jun 14) 297 (Jakson A. Aquino, 2006 Jun 14)
278 298
279 Some composing characters actually add a cell width to the character they are 299 Some composing characters actually add a cell width to the character they are
280 on top off, making the whole thing two characters wide. (#4526) 300 on top off, making the whole thing two characters wide. (#4526)
281 301
302 Add CmdwinLeavePost (#4762). Also add WinLeavePost then?
303
282 Should we include some part of pull request #4505, not increment changedtick 304 Should we include some part of pull request #4505, not increment changedtick
283 in some cases? E.g. for ":write" when the changed flag was already off, the 305 in some cases? E.g. for ":write" when the changed flag was already off, the
284 buffer didn't change at all. 306 buffer didn't change at all.
285 307
286 Patch to add getreginfo() and setreg() with an option to set the unnamed 308 Patch to add getreginfo() and setreg() with an option to set the unnamed
310 Check: __attribute__((format(printf, on semsg() and siemsg(). Where was this 332 Check: __attribute__((format(printf, on semsg() and siemsg(). Where was this
311 added? 333 added?
312 334
313 Add test for urxvt mouse codes. Also test that mouse coordinates can be 335 Add test for urxvt mouse codes. Also test that mouse coordinates can be
314 negative. (see #4326) 336 negative. (see #4326)
315
316 All functions are global, which makes functions like get() and len() awkward.
317 For the future use the ~get() and ~len() syntax. It also allows for
318 chaining: >
319 mylist~get(idx)
320 mylist~uniq()~len()
321 mydict~get(idx)
322 mystring~len()
323 Or use -> (like C pointer dereference) >
324 mylist->get(idx)
325 mylist->uniq()->len()
326 mydict->get(idx)
327 mystring->len()
328 Alternatives for ~:
329 ^ list^get() could also be used
330 . list.get() already means "member" in Dict
331 $ list$get() harder to read
332 @ list@get() harder to read
333 337
334 'cmdheight' has a tab-local value, but it cannot be obtained with 338 'cmdheight' has a tab-local value, but it cannot be obtained with
335 `:echo gettabwinvar(2, 1, '&cmdheight')` returns the value for the _current_ 339 `:echo gettabwinvar(2, 1, '&cmdheight')` returns the value for the _current_
336 tab page. (Ingo Karkat, #4324) 340 tab page. (Ingo Karkat, #4324)
337 :call settabwinvar(1, 1, '&cmdheight', 2) also doesn't work well. 341 :call settabwinvar(1, 1, '&cmdheight', 2) also doesn't work well.
1901 need to make the change in where RET_WIN_BUF_CHARTABSIZE() is called. 1905 need to make the change in where RET_WIN_BUF_CHARTABSIZE() is called.
1902 1906
1903 Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set to 2, 1907 Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set to 2,
1904 only one of the two ends gets the cchar displayed. (Brett Stahlman, 2010 Aug 1908 only one of the two ends gets the cchar displayed. (Brett Stahlman, 2010 Aug
1905 21, Ben Fritz, 2010 Sep 14) 1909 21, Ben Fritz, 2010 Sep 14)
1906
1907 The :syntax cchar value can only be a single character. It would be useful to
1908 support combining characters. (Charles Campbell)
1909 1910
1910 'cursorline' works on a text line only. Add 'cursorscreenline' for 1911 'cursorline' works on a text line only. Add 'cursorscreenline' for
1911 highlighting the screen line. (Christian Brabandt, 2012 Mar 31) 1912 highlighting the screen line. (Christian Brabandt, 2012 Mar 31)
1912 1913
1913 Win32: Patch to use task dialogs when available. (Sergiu Dotenco, 2011 Sep 17) 1914 Win32: Patch to use task dialogs when available. (Sergiu Dotenco, 2011 Sep 17)