updated for version 7.0061

This commit is contained in:
Bram Moolenaar
2005-03-18 20:27:04 +00:00
parent 4317d9b486
commit 5409c051a5
2 changed files with 13 additions and 5 deletions

View File

@ -1,4 +1,4 @@
*syntax.txt* For Vim version 7.0aa. Last change: 2005 Feb 21 *syntax.txt* For Vim version 7.0aa. Last change: 2005 Mar 14
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -3632,6 +3632,7 @@ term={attr-list} *attr-list* *highlight-term* *E418*
following items (in any order): following items (in any order):
bold bold
underline underline
undercurl not always available
reverse reverse
inverse same as reverse inverse same as reverse
italic italic
@ -3640,6 +3641,9 @@ term={attr-list} *attr-list* *highlight-term* *E418*
Note that "bold" can be used here and by using a bold font. They Note that "bold" can be used here and by using a bold font. They
have the same effect. have the same effect.
"undercurl" is a curly underline. When "undercurl" is not possible
then "underline" is used. In general "undercurl" is only available in
the GUI.
start={term-list} *highlight-start* *E422* start={term-list} *highlight-start* *E422*
stop={term-list} *term-list* *highlight-stop* stop={term-list} *term-list* *highlight-stop*
@ -3795,8 +3799,10 @@ font={font-name} *highlight-font*
guifg={color-name} *highlight-guifg* guifg={color-name} *highlight-guifg*
guibg={color-name} *highlight-guibg* guibg={color-name} *highlight-guibg*
These give the foreground (guifg) and background (guibg) color to guisp={color-name} *highlight-guisp*
use in the GUI. There are a few special names: These give the foreground (guifg), background (guibg) and special
(guisp) color to use in the GUI. "guisp" is used for underline and
undercurl. There are a few special names:
NONE no color (transparent) NONE no color (transparent)
bg use normal background color bg use normal background color
background use normal background color background use normal background color
@ -3825,8 +3831,8 @@ guibg={color-name} *highlight-guibg*
You can also specify a color by its Red, Green and Blue values. You can also specify a color by its Red, Green and Blue values.
The format is "#rrggbb", where The format is "#rrggbb", where
"rr" is the Red value "rr" is the Red value
"bb" is the Blue value
"gg" is the Green value "gg" is the Green value
"bb" is the Blue value
All values are hexadecimal, range from "00" to "ff". Examples: > All values are hexadecimal, range from "00" to "ff". Examples: >
:highlight Comment guifg=#11f0c3 guibg=#ff00ff :highlight Comment guifg=#11f0c3 guibg=#ff00ff
< <

View File

@ -106,6 +106,7 @@ set_indent(size, flags)
int doit = FALSE; int doit = FALSE;
int ind_done; int ind_done;
int tab_pad; int tab_pad;
int retval = FALSE;
/* /*
* First check if there is anything to do and compute the number of * First check if there is anything to do and compute the number of
@ -266,12 +267,13 @@ set_indent(size, flags)
if (saved_cursor.lnum == curwin->w_cursor.lnum if (saved_cursor.lnum == curwin->w_cursor.lnum
&& saved_cursor.col >= (colnr_T)(p - oldline)) && saved_cursor.col >= (colnr_T)(p - oldline))
saved_cursor.col += ind_len - (p - oldline); saved_cursor.col += ind_len - (p - oldline);
retval = TRUE;
} }
else else
vim_free(newline); vim_free(newline);
curwin->w_cursor.col = ind_len; curwin->w_cursor.col = ind_len;
return TRUE; return retval;
} }
/* /*