简体   繁体   English

这个gVim警告是什么,以及如何消除它?

[英]What is this gVim warning and how to eliminate it?

In Ubuntu 10.04 (as a Virtual Machine), I open gVim from command line but every time I switch from terminal to vim and back I see the following warning: 在Ubuntu 10.04(作为虚拟机)中,我从命令行打开gVim,但是每次从终端切换到vim并返回时,都会看到以下警告:

** (gvim:13790): CRITICAL **: murrine_style_draw_box: assertion 'height >= -1' failed

Why do I get this warning and how do I get rid of it? 为什么我会收到此警告,以及如何消除它?

The installation (via software center) is pretty much unmodified, except the addition of ~/.vimrc: 安装(通过软件中心)几乎未做任何修改,除了〜/ .vimrc之外:

source $VIMRUNTIME/mswin.vim
behave mswin
set hls

It's a bug in the theme package(s). 这是主题包中的错误。 Resolution here: https://bugs.launchpad.net/ubuntu/+source/light-themes/+bug/538499/comments/24 此处的分辨率: https : //bugs.launchpad.net/ubuntu/+source/light-themes/+bug/538499/comments/24

Modify the entry in /usr/share/themes/YOUR THEME IN USE/gtk-2.0/gtkrc from GtkRange::trough-under-steppers = 0 to GtkRange::trough-under-steppers = 1 GtkRange::trough-under-steppers = 0 GtkRange::trough-under-steppers = 1 GtkRange::trough-under-steppers = 0GtkRange::trough-under-steppers = 1修改/usr/share/themes/YOUR THEME IN USE/gtk-2.0/gtkrcGtkRange::trough-under-steppers = 0

HTH HTH

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM