Mercurial > vim
comparison src/ui.c @ 12871:1a450ce6980c v8.0.1312
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
commit https://github.com/vim/vim/commit/c3719bd87beca9f72d2e9f11e36d561c2c3b57b0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 18 22:13:31 2017 +0100
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Problem: balloon_show() only works in terminal when compiled with the GUI.
Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
specific file.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 18 Nov 2017 22:15:05 +0100 |
parents | 5cb08ec9d4cf |
children | 85a601f985ab |
comparison
equal
deleted
inserted
replaced
12870:0469872186f5 | 12871:1a450ce6980c |
---|---|
3206 #ifdef FEAT_VIRTUALEDIT | 3206 #ifdef FEAT_VIRTUALEDIT |
3207 mpos->coladd = 0; | 3207 mpos->coladd = 0; |
3208 #endif | 3208 #endif |
3209 return IN_BUFFER; | 3209 return IN_BUFFER; |
3210 } | 3210 } |
3211 | 3211 #endif |
3212 | |
3213 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MAC) \ | |
3214 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \ | |
3215 || defined(FEAT_GUI_PHOTON) || defined(FEAT_BEVAL) || defined(PROTO) | |
3212 /* | 3216 /* |
3213 * Convert a virtual (screen) column to a character column. | 3217 * Convert a virtual (screen) column to a character column. |
3214 * The first column is one. | 3218 * The first column is one. |
3215 */ | 3219 */ |
3216 int | 3220 int |