• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/vim-55/runtime/syntax/

Lines Matching +refs:diff +refs:find +refs:text

118 function! s:HtmlFormat(text, style_name, diff_style_name)
120 let formatted = strtrans(a:text)
122 " separate the two classes by a space to apply them both if there is a diff
140 " Add normal groups to the beginning so diff groups can override them.
150 " Add the diff highlight class to class list if used and it's not there yet.
151 " Add diff groups to the end so they override the other highlighting.
179 if synIDattr(a:id, "underline") | let a = a . "text-decoration: underline; " | endif
298 call add(s:lines, "<meta http-equiv=\"content-type\" content=\"text/html; charset=" . s:settings.encoding . '"' . s:tag_close)
315 \ "<style type=\"text/css\">",
317 \ ".FoldColumn { text-decoration: none; white-space: pre; }",
341 \ "<!--[if lt IE 7]><style type=\"text/css\">",
357 \ "<style type=\"text/css\">",
359 \ ".FoldColumn { text-decoration: none; white-space: pre; }",
376 \ "<style type=\"text/css\">",
388 \ "<script type='text/javascript'>",
485 " find the current progress bar position based on precalculated thresholds
533 " save the fold text and set it to the default so we can find fold levels
544 " default fold text has '+-' and then a number of dashes equal to fold
554 " open the fold so we can find any contained folds
576 " default fold text has '+-' and then a number of dashes equal to fold
589 " open the fold so we can find any contained folds
610 " close all folds again so we can get the fold text as we go
614 " Now loop over all lines in the original text to convert to html.
652 let s:difffillchar = &fillchars[matchend(&fillchars, 'diff:')]
661 " If there are filler lines for diff mode, show these above the line.
783 " add fold text, moving the span ending to the next line so collapsing
788 " open the fold now that we have the fold text to allow retrieval of
789 " fold text for subsequent folds
818 " Now continue with the unfolded line text
824 " Get the diff attribute, if any.
838 let s:startcol = s:col " The start column for processing text
845 " Go along till we find a change in the match sequence number (ending
854 " Go along till we find a change in hlID
860 " Add spaces at the end of the raw text line to extend the changed
869 " Go along till we find a change in synID
906 " use Conceal highlighting for concealed text
911 " Output the text with the same synID, with class set to {s:id_name},
962 1;/<style type="text/+1
988 execute '%s:<body>:<body bgcolor="' . s:bgc . '" text="' . s:fgc . '">\r<font face="'. s:htmlfont .'">'
1018 " Replace spans of this class name AND a diff class with non-CSS style
1019 " markup surrounding a span of just the diff class. The diff class will