comparison src/proto/optionstr.pro @ 33480:f8dd278ab05f v9.0.1991

patch 9.0.1991: no cmdline completion for setting the font Commit: https://github.com/vim/vim/commit/290b887e8cc2c0d3dfc7f315b2052472c7c589cc Author: Yee Cheng Chin <ychin.git@gmail.com> Date: Thu Oct 5 20:54:21 2023 +0200 patch 9.0.1991: no cmdline completion for setting the font Problem: no cmdline completion for setting the font Solution: enable it on Win32 and GTK builds Add guifont cmdline completion (for Windows and GTK) For Windows, auto-complete will only suggest monospace fonts as that's the only types allowed. Will also suggest font options after the colon, including suggesting the current font size for convenience, and misc charset and quality options like `cANSI` and `qCLEARTYPE`. For GTK, auto-complete will suggest only monospace fonts for `guifont` but will include all fonts for `guifontwide`. The completion code doesn't currently suggest the current font size, as the GTK guifont format does not have a clear delimiter (':' for other platforms). closes: #13264 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Thu, 05 Oct 2023 21:00:07 +0200
parents aa7cd2253130
children 46d449fd4fe4
comparison
equal deleted inserted replaced
33479:e88e84676ad5 33480:f8dd278ab05f
150 int expand_set_fileformat(optexpand_T *args, int *numMatches, char_u ***matches); 150 int expand_set_fileformat(optexpand_T *args, int *numMatches, char_u ***matches);
151 int expand_set_foldclose(optexpand_T *args, int *numMatches, char_u ***matches); 151 int expand_set_foldclose(optexpand_T *args, int *numMatches, char_u ***matches);
152 int expand_set_foldmethod(optexpand_T *args, int *numMatches, char_u ***matches); 152 int expand_set_foldmethod(optexpand_T *args, int *numMatches, char_u ***matches);
153 int expand_set_foldopen(optexpand_T *args, int *numMatches, char_u ***matches); 153 int expand_set_foldopen(optexpand_T *args, int *numMatches, char_u ***matches);
154 int expand_set_formatoptions(optexpand_T *args, int *numMatches, char_u ***matches); 154 int expand_set_formatoptions(optexpand_T *args, int *numMatches, char_u ***matches);
155 int expand_set_guifont(optexpand_T *args, int *numMatches, char_u ***matches);
155 int expand_set_guioptions(optexpand_T *args, int *numMatches, char_u ***matches); 156 int expand_set_guioptions(optexpand_T *args, int *numMatches, char_u ***matches);
156 int expand_set_highlight(optexpand_T *args, int *numMatches, char_u ***matches); 157 int expand_set_highlight(optexpand_T *args, int *numMatches, char_u ***matches);
157 int expand_set_jumpoptions(optexpand_T *args, int *numMatches, char_u ***matches); 158 int expand_set_jumpoptions(optexpand_T *args, int *numMatches, char_u ***matches);
158 int expand_set_keymodel(optexpand_T *args, int *numMatches, char_u ***matches); 159 int expand_set_keymodel(optexpand_T *args, int *numMatches, char_u ***matches);
159 int expand_set_keyprotocol(optexpand_T *args, int *numMatches, char_u ***matches); 160 int expand_set_keyprotocol(optexpand_T *args, int *numMatches, char_u ***matches);