|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <windef.h>#include <winbase.h>#include <winuser.h>#include <winnls.h>#include <wingdi.h>#include <shellapi.h>#include <commdlg.h>#include <tchar.h>#include <stdlib.h>#include <malloc.h>#include "dialog.h"#include "notepad_res.h"

Go to the source code of this file.
Classes | |
| struct | NOTEPAD_GLOBALS |
Macros | |
| #define | STRSAFE_NO_DEPRECATE |
| #define | EDIT_STYLE_WRAP (WS_CHILD | WS_VSCROLL | ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL) |
| #define | EDIT_STYLE (EDIT_STYLE_WRAP | WS_HSCROLL | ES_AUTOHSCROLL) |
| #define | EDIT_CLASS _T("EDIT") |
| #define | MAX_STRING_LEN 255 |
| #define | ENCODING_DEFAULT ENCODING_UTF8 |
Enumerations | |
| enum | ENCODING { ENCODING_ANSI = 0 , ENCODING_UTF16LE = 1 , ENCODING_UTF16BE = 2 , ENCODING_UTF8 = 3 , ENCODING_AUTO = -1 , ENCODING_ANSI = 0 , ENCODING_UTF16LE = 1 , ENCODING_UTF16BE = 2 , ENCODING_UTF8 = 3 , ENCODING_UTF8BOM = 4 , ENCODING_ANSI = 0 , ENCODING_UTF16LE = 1 , ENCODING_UTF16BE = 2 , ENCODING_UTF8 = 3 , ENCODING_ANSI = 1 , ENCODING_UTF8 , ENCODING_UTF16LE , ENCODING_UTF16BE } |
| enum | EOLN { EOLN_CRLF = 0 , EOLN_LF = 1 , EOLN_CR = 2 } |
Functions | |
| BOOL | ReadText (HANDLE hFile, HLOCAL *phLocal, ENCODING *pencFile, EOLN *piEoln) |
| BOOL | WriteText (HANDLE hFile, LPCWSTR pszText, DWORD dwTextLen, ENCODING encFile, EOLN iEoln) |
| void | NOTEPAD_LoadSettingsFromRegistry (PWINDOWPLACEMENT pWP) |
| void | NOTEPAD_SaveSettingsToRegistry (void) |
| BOOL | NOTEPAD_FindNext (FINDREPLACE *pFindReplace, BOOL bReplace, BOOL bShowAlert) |
| VOID | NOTEPAD_EnableSearchMenu (VOID) |
| VOID | SetFileName (LPCTSTR szFileName) |
Variables | |
| NOTEPAD_GLOBALS | Globals |
| #define EDIT_STYLE (EDIT_STYLE_WRAP | WS_HSCROLL | ES_AUTOHSCROLL) |
| #define EDIT_STYLE_WRAP (WS_CHILD | WS_VSCROLL | ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL) |
| #define ENCODING_DEFAULT ENCODING_UTF8 |
Definition at line 39 of file notepad.h.
| BOOL NOTEPAD_FindNext | ( | FINDREPLACE * | pFindReplace, |
| BOOL | bReplace, | ||
| BOOL | bShowAlert | ||
| ) |
Definition at line 132 of file main.c.
Referenced by DIALOG_SearchNext(), NOTEPAD_ReplaceAll(), and NOTEPAD_WndProc().
| void NOTEPAD_LoadSettingsFromRegistry | ( | PWINDOWPLACEMENT | pWP | ) |
Definition at line 105 of file settings.c.
Referenced by _tWinMain().
Definition at line 236 of file settings.c.
Referenced by NOTEPAD_WndProc().
Definition at line 153 of file text.c.
Referenced by DoOpenFile().
Definition at line 395 of file text.c.
Referenced by DoSaveFile().
|
extern |