Mercurial > vim
comparison src/hardcopy.c @ 499:08012a1ff8d4 v7.0137
updated for version 7.0137
author | vimboss |
---|---|
date | Thu, 25 Aug 2005 21:27:31 +0000 |
parents | a5fcf36ef512 |
children | e649c78407e6 |
comparison
equal
deleted
inserted
replaced
498:f9ea3888b054 | 499:08012a1ff8d4 |
---|---|
874 /* | 874 /* |
875 * syntax highlighting stuff. | 875 * syntax highlighting stuff. |
876 */ | 876 */ |
877 if (psettings->do_syntax) | 877 if (psettings->do_syntax) |
878 { | 878 { |
879 id = syn_get_id(ppos->file_line, col, 1, NULL); | 879 id = syn_get_id(curwin, ppos->file_line, col, 1, NULL); |
880 if (id > 0) | 880 if (id > 0) |
881 id = syn_get_final_id(id); | 881 id = syn_get_final_id(id); |
882 else | 882 else |
883 id = 0; | 883 id = 0; |
884 /* Get the line again, a multi-line regexp may invalidate it. */ | 884 /* Get the line again, a multi-line regexp may invalidate it. */ |