Mercurial > vim
annotate src/vim.rc @ 23068:2f034cb0a046 v8.2.2080
patch 8.2.2080: Vim9: no proper error message for using s:var in for loop
Commit: https://github.com/vim/vim/commit/ea87069d7814497181483877651aef6d97182120
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 2 14:24:30 2020 +0100
patch 8.2.2080: Vim9: no proper error message for using s:var in for loop
Problem: Vim9: no proper error message for using s:var in for loop.
Solution: Give a specific error.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Dec 2020 14:30:03 +0100 |
parents | ff39fc87f6b3 |
children | 2e6cc2bf37d8 |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
5153
diff
changeset
|
1 // vi:set ts=8 sts=4 sw=4 noet: |
7 | 2 // |
3 // VIM - Vi IMproved by Bram Moolenaar | |
4 // | |
5 // Do ":help uganda" in Vim to read copying and usage conditions. | |
6 // Do ":help credits" in Vim to see a list of people who contributed. | |
7 | |
8 // vim.rc | |
9 // Icon and version information for the Win32 version of Vim | |
10 // Must be in DOS format <CR><NL>! | |
11 | |
39 | 12 #include <winver.h> |
7 | 13 #include "version.h" |
14 #include "gui_w32_rc.h" | |
16606
7e733046db1d
patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
16451
diff
changeset
|
15 #include <winresrc.h> |
7 | 16 |
18855
02e2707808b2
patch 8.1.2414: MS-Windows: properties dialog box shows wrong character
Bram Moolenaar <Bram@vim.org>
parents:
18287
diff
changeset
|
17 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US |
02e2707808b2
patch 8.1.2414: MS-Windows: properties dialog box shows wrong character
Bram Moolenaar <Bram@vim.org>
parents:
18287
diff
changeset
|
18 #pragma code_page(1252) |
02e2707808b2
patch 8.1.2414: MS-Windows: properties dialog box shows wrong character
Bram Moolenaar <Bram@vim.org>
parents:
18287
diff
changeset
|
19 |
7 | 20 // |
21 // Icons | |
22 // | |
23 IDR_VIM ICON "vim.ico" | |
24 | |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
25 #if (defined(FEAT_GUI_MSWIN) && !defined(VIMDLL)) || defined(RCDLL) |
7 | 26 IDR_VIM_ERROR ICON "vim_error.ico" |
27 IDR_VIM_ALERT ICON "vim_alert.ico" | |
28 IDR_VIM_INFO ICON "vim_info.ico" | |
29 IDR_VIM_QUESTION ICON "vim_quest.ico" | |
30 | |
31 // | |
32 // Bitmaps | |
33 // | |
34 IDB_TEAROFF BITMAP DISCARDABLE "tearoff.bmp" | |
35 IDR_TOOLBAR1 BITMAP DISCARDABLE "tools.bmp" | |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
36 #endif // FEAT_GUI_MSWIN |
7 | 37 |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
38 #ifndef RCDLL |
7 | 39 // |
40 // WinXP theme support | |
41 // | |
42 #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID | |
43 # define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 | |
44 #endif | |
45 #ifndef RT_MANIFEST | |
46 # define RT_MANIFEST 24 | |
47 #endif | |
48 | |
49 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gvim.exe.mnf" | |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
50 #endif // RCDLL |
7 | 51 |
52 // | |
53 // Type Library | |
54 // | |
55 #ifdef FEAT_OLE | |
1622 | 56 1 TYPELIB "vim.tlb" |
7 | 57 #endif |
58 | |
59 // | |
60 // Version | |
61 // | |
62 | |
63 VS_VERSION_INFO VERSIONINFO | |
18287
50a16f2a54a8
patch 8.1.2138: including the build number in the Win32 binary is confusing
Bram Moolenaar <Bram@vim.org>
parents:
16606
diff
changeset
|
64 FILEVERSION VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_PATCHLEVEL |
50a16f2a54a8
patch 8.1.2138: including the build number in the Win32 binary is confusing
Bram Moolenaar <Bram@vim.org>
parents:
16606
diff
changeset
|
65 PRODUCTVERSION VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_PATCHLEVEL |
7 | 66 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK |
67 | |
68 #if VIM_VERSION_PATCHLEVEL > 0 | |
69 #ifdef _DEBUG | |
70 FILEFLAGS VS_FF_PRERELEASE | VS_FF_DEBUG | VS_FF_PATCHED | |
71 #else | |
72 FILEFLAGS VS_FF_PRERELEASE | VS_FF_PATCHED | |
73 #endif | |
74 #else | |
75 #ifdef _DEBUG | |
76 FILEFLAGS VS_FF_PRERELEASE | VS_FF_DEBUG | |
77 #else | |
78 FILEFLAGS VS_FF_PRERELEASE | |
79 #endif | |
80 #endif | |
81 | |
82 FILEOS VOS__WINDOWS32 | |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
83 #ifdef RCDLL |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
84 FILETYPE VFT_DLL |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
85 #else |
7 | 86 FILETYPE VFT_APP |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
87 #endif |
7 | 88 FILESUBTYPE 0x0L |
89 BEGIN | |
90 BLOCK "StringFileInfo" | |
91 BEGIN | |
92 // 0x0409 == U.S. English; 0x04E4 => Windows Multilingual | |
93 BLOCK "040904E4" | |
94 BEGIN | |
95 VALUE "CompanyName", "Vim Developers\0" | |
96 VALUE "FileDescription", "Vi Improved - A Text Editor\0" | |
18874
ff39fc87f6b3
patch 8.1.2423: MS-Windows properties shows version as "8, 1, 0"
Bram Moolenaar <Bram@vim.org>
parents:
18855
diff
changeset
|
97 VALUE "FileVersion", VIM_VERSION_MAJOR_STR "." VIM_VERSION_MINOR_STR "." VIM_VERSION_PATCHLEVEL_STR "\0" |
7 | 98 VALUE "InternalName", "VIM\0" |
5153
b5abda4e7c4b
updated for version 7.4a.003
Bram Moolenaar <bram@vim.org>
parents:
4932
diff
changeset
|
99 VALUE "LegalCopyright", "Copyright \251 1996\0" |
7 | 100 VALUE "LegalTrademarks", "Vim\0" |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
101 #ifdef VIMDLLBASE |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
102 VALUE "OriginalFilename", VIMDLLBASE ".dll\0" |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
103 #elif defined(FEAT_GUI_MSWIN) |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
104 VALUE "OriginalFilename", "gvim.exe\0" |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
105 #else |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
106 VALUE "OriginalFilename", "vim.exe\0" |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
107 #endif |
7 | 108 VALUE "ProductName", "Vim\0" |
18874
ff39fc87f6b3
patch 8.1.2423: MS-Windows properties shows version as "8, 1, 0"
Bram Moolenaar <Bram@vim.org>
parents:
18855
diff
changeset
|
109 VALUE "ProductVersion", VIM_VERSION_MAJOR_STR "." VIM_VERSION_MINOR_STR "." VIM_VERSION_PATCHLEVEL_STR "\0" |
7 | 110 END |
111 END | |
112 BLOCK "VarFileInfo" | |
113 BEGIN | |
114 VALUE "Translation", 0x409, 0x4E4 | |
115 END | |
116 END | |
117 | |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
118 #if !defined(VIMDLL) || defined(RCDLL) |
7 | 119 /* |
120 * Printing Status Dialog (should only be used when FEAT_PRINTER is defined) | |
121 */ | |
122 #define IDC_BOX1 400 | |
123 #define IDC_PRINTTEXT1 401 | |
124 #define IDC_PRINTTEXT2 402 | |
125 #define IDC_PROGRESS 403 | |
126 PRINTDLGBOX DIALOG 115, 63, 210, 80 | |
127 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | |
128 FONT 8, "Helv" | |
129 BEGIN | |
130 DEFPUSHBUTTON "Cancel", IDCANCEL, 85, 60, 40, 14 | |
4932
1cf02fbe6281
updated for version 7.3.1211
Bram Moolenaar <bram@vim.org>
parents:
1622
diff
changeset
|
131 CTEXT "Printing",IDC_PRINTTEXT1,23,15,157,9 |
1cf02fbe6281
updated for version 7.3.1211
Bram Moolenaar <bram@vim.org>
parents:
1622
diff
changeset
|
132 CTEXT " ",IDC_PRINTTEXT2,23,25,157,9 |
1cf02fbe6281
updated for version 7.3.1211
Bram Moolenaar <bram@vim.org>
parents:
1622
diff
changeset
|
133 CTEXT "Initializing...",IDC_PROGRESS,24,38,157,9 |
7 | 134 GROUPBOX "",IDC_BOX1,19,9,170,47 |
135 END | |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
15886
diff
changeset
|
136 #endif |