Mercurial > vim
comparison src/gui_w48.c @ 818:1f929f3ca806 v7.0c03
updated for version 7.0c03
author | vimboss |
---|---|
date | Wed, 29 Mar 2006 21:18:24 +0000 |
parents | 4a79d6d376f0 |
children | 45fad0f590d0 |
comparison
equal
deleted
inserted
replaced
817:6897668c467f | 818:1f929f3ca806 |
---|---|
1068 /* Actually open the window, if not already visible | 1068 /* Actually open the window, if not already visible |
1069 * (may be done already in gui_mch_set_shellsize) */ | 1069 * (may be done already in gui_mch_set_shellsize) */ |
1070 if (!IsWindowVisible(s_hwnd)) | 1070 if (!IsWindowVisible(s_hwnd)) |
1071 ShowWindow(s_hwnd, SW_SHOWDEFAULT); | 1071 ShowWindow(s_hwnd, SW_SHOWDEFAULT); |
1072 | 1072 |
1073 #ifdef MSWIN_FIND_REPLACE | |
1074 /* Init replace string here, so that we keep it when re-opening the | |
1075 * dialog. */ | |
1076 s_findrep_struct.lpstrReplaceWith[0] = NUL; | |
1077 #endif | |
1078 | |
1073 return OK; | 1079 return OK; |
1074 } | 1080 } |
1075 | 1081 |
1076 /* | 1082 /* |
1077 * Get the position of the top left corner of the window. | 1083 * Get the position of the top left corner of the window. |
1337 {"DarkGrey", RGB(0x80, 0x80, 0x80)}, | 1343 {"DarkGrey", RGB(0x80, 0x80, 0x80)}, |
1338 {"Gray", RGB(0xC0, 0xC0, 0xC0)}, | 1344 {"Gray", RGB(0xC0, 0xC0, 0xC0)}, |
1339 {"Grey", RGB(0xC0, 0xC0, 0xC0)}, | 1345 {"Grey", RGB(0xC0, 0xC0, 0xC0)}, |
1340 {"LightGray", RGB(0xE0, 0xE0, 0xE0)}, | 1346 {"LightGray", RGB(0xE0, 0xE0, 0xE0)}, |
1341 {"LightGrey", RGB(0xE0, 0xE0, 0xE0)}, | 1347 {"LightGrey", RGB(0xE0, 0xE0, 0xE0)}, |
1348 {"Gray90", RGB(0xE5, 0xE5, 0xE5)}, | |
1349 {"Grey90", RGB(0xE5, 0xE5, 0xE5)}, | |
1342 {"White", RGB(0xFF, 0xFF, 0xFF)}, | 1350 {"White", RGB(0xFF, 0xFF, 0xFF)}, |
1343 {"DarkRed", RGB(0x80, 0x00, 0x00)}, | 1351 {"DarkRed", RGB(0x80, 0x00, 0x00)}, |
1344 {"Red", RGB(0xFF, 0x00, 0x00)}, | 1352 {"Red", RGB(0xFF, 0x00, 0x00)}, |
1345 {"LightRed", RGB(0xFF, 0xA0, 0xA0)}, | 1353 {"LightRed", RGB(0xFF, 0xA0, 0xA0)}, |
1346 {"DarkBlue", RGB(0x00, 0x00, 0x80)}, | 1354 {"DarkBlue", RGB(0x00, 0x00, 0x80)}, |
2368 if (mcase) | 2376 if (mcase) |
2369 s_findrep_struct.Flags |= FR_MATCHCASE; | 2377 s_findrep_struct.Flags |= FR_MATCHCASE; |
2370 if (wword) | 2378 if (wword) |
2371 s_findrep_struct.Flags |= FR_WHOLEWORD; | 2379 s_findrep_struct.Flags |= FR_WHOLEWORD; |
2372 if (entry_text != NULL && *entry_text != NUL) | 2380 if (entry_text != NULL && *entry_text != NUL) |
2373 { | |
2374 vim_strncpy(s_findrep_struct.lpstrFindWhat, entry_text, | 2381 vim_strncpy(s_findrep_struct.lpstrFindWhat, entry_text, |
2375 s_findrep_struct.wFindWhatLen - 1); | 2382 s_findrep_struct.wFindWhatLen - 1); |
2376 s_findrep_struct.lpstrReplaceWith[0] = NUL; | |
2377 } | |
2378 vim_free(entry_text); | 2383 vim_free(entry_text); |
2379 } | 2384 } |
2380 #endif | 2385 #endif |
2381 | 2386 |
2382 void | 2387 void |