mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 00:23:10 +00:00
[NOTEPAD] Improve UTF-8 encoding support and improve status bar (#4649)
- Add write support for UTF-8 without BOM. - Add "UTF-8 with BOM" encoding to the "Save As" dialog. - Show line endings and encoding on the status bar (like Notepad in Windows 10). - Remove ignored WS_EX_STATICEDGE - Add grip to the status window. Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
This commit is contained in:
parent
6b70fff808
commit
d73b6cedf2
45 changed files with 152 additions and 26 deletions
|
@ -427,8 +427,13 @@ NOTEPAD_WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
LOWORD(wParam),
|
||||
SWP_NOZORDER);
|
||||
|
||||
if (hdwp != NULL)
|
||||
EndDeferWindowPos(hdwp);
|
||||
if (hdwp == NULL)
|
||||
break;
|
||||
|
||||
EndDeferWindowPos(hdwp);
|
||||
|
||||
/* Align status bar parts, only if the status bar resize operation succeeds */
|
||||
DIALOG_StatusBarAlignParts();
|
||||
}
|
||||
else
|
||||
SetWindowPos(Globals.hEdit,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue