@@ -109,8 +109,6 @@ TODO:
109
109
- When the lines do not fit show a scrollbar (like in the popup menu).
110
110
Use the mouse wheel for scrolling.
111
111
- Implement:
112
- popup_setoptions({id} , {options} )
113
- hidden option
114
112
tabpage option with number
115
113
flip option
116
114
transparent text property
@@ -247,11 +245,15 @@ popup_getoptions({id}) *popup_getoptions()*
247
245
A zero value means the option was not set. For "zindex" the
248
246
default value is returned, not zero.
249
247
250
- The "highlight" entry is omitted, use the 'wincolor' option
251
- for that: >
252
- let hl = getwinvar(winid, '&wincolor')
248
+ The "moved" entry is a list with minimum and maximum column,
249
+ [0, 0] when not set.
253
250
254
- < If popup window {id} is not found an empty Dict is returned.
251
+ "border" and "padding" are not included when all values are
252
+ zero. When all values are one then an empty list is included.
253
+
254
+ "borderhighlight" is not included when all values are empty.
255
+
256
+ If popup window {id} is not found an empty Dict is returned.
255
257
256
258
257
259
popup_getpos({id} ) *popup_getpos()*
@@ -307,9 +309,17 @@ popup_menu({text}, {options}) *popup_menu()*
307
309
popup_move({id} , {options} ) *popup_move()*
308
310
Move popup {id} to the position specified with {options} .
309
311
{options} may contain the items from | popup_create() | that
310
- specify the popup position: "line", "col", "pos", "maxheight",
311
- "minheight", "maxwidth" and "minwidth".
312
+ specify the popup position:
313
+ line
314
+ col
315
+ pos
316
+ maxheight
317
+ minheight
318
+ maxwidth
319
+ minwidth
320
+ fixed
312
321
For {id} see `popup_hide ()` .
322
+ For other options see | popup_setoptions() | .
313
323
314
324
315
325
popup_notification({text} , {options} ) *popup_notification()*
@@ -341,8 +351,26 @@ popup_show({id}) *popup_show()*
341
351
342
352
343
353
popup_setoptions({id} , {options} ) *popup_setoptions()*
344
- {not implemented yet}
345
354
Override options in popup {id} with entries in {options} .
355
+ These options can be set:
356
+ flip
357
+ firstline
358
+ title
359
+ wrap
360
+ drag
361
+ highlight
362
+ padding
363
+ border
364
+ borderhighlight
365
+ borderchars
366
+ zindex
367
+ time
368
+ moved
369
+ filter
370
+ callback
371
+ The options from | popup_move() | can also be used.
372
+ For "hidden" use | popup_hide() | and | popup_show() | .
373
+ "tabpage" cannot be changed.
346
374
347
375
popup_settext({id} , {text} ) *popup_settext()*
348
376
Set the text of the buffer in poup win {id} . {text} is the
0 commit comments