如果通过设置 .exrc 或 .vimrc 文件指定用不同的颜色显示某些错误,Vim 就会替您完成大部分调试工作,见图 1。
If your .exrc or .vimrc file is set up to display colors for certain error conditions, Vim will do most of the work for you, as Figure 1, below, shows.
滑块的移动调用名为fct的回调来改变显示的颜色条的长度,那个回调会调用ProgressBar的value函数来设置新的长度。
Moving the slider changes the length of the displayed color bar by invoking the callback named FCT, which calls the value function on the ProgressBars to set the new length.
background功能被用来设置显示窗口的颜色。
The background function is used to set the color of the display window.
应用推荐