ReactOS
0.4.15-dev-1623-g66cf1d2
|
#include "notepad_res.h"
Go to the source code of this file.
Classes | |
struct | NOTEPAD_GLOBALS |
Macros | |
#define | ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) |
#define | EDIT_STYLE_WRAP |
#define | EDIT_STYLE (EDIT_STYLE_WRAP | WS_HSCROLL | ES_AUTOHSCROLL) |
#define | EDIT_CLASS _T("EDIT") |
#define | MAX_STRING_LEN 255 |
#define | EOLN_CRLF 0 |
#define | EOLN_LF 1 |
#define | EOLN_CR 2 |
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_ANSI = 0, ENCODING_UTF16LE = 1, ENCODING_UTF16BE = 2, ENCODING_UTF8 = 3, ENCODING_ANSI = 1, ENCODING_UTF8, ENCODING_UTF16LE, ENCODING_UTF16BE } |
Functions | |
VOID | SetFileName (LPCTSTR szFileName) |
BOOL | ReadText (HANDLE hFile, LPWSTR *ppszText, DWORD *pdwTextLen, ENCODING *pencFile, int *piEoln) |
BOOL | WriteText (HANDLE hFile, LPCWSTR pszText, DWORD dwTextLen, ENCODING encFile, int iEoln) |
void | NOTEPAD_LoadSettingsFromRegistry (void) |
void | NOTEPAD_SaveSettingsToRegistry (void) |
BOOL | NOTEPAD_FindNext (FINDREPLACE *, BOOL, BOOL) |
VOID | NOTEPAD_EnableSearchMenu (VOID) |
Variables | |
NOTEPAD_GLOBALS | Globals |
#define EDIT_STYLE (EDIT_STYLE_WRAP | WS_HSCROLL | ES_AUTOHSCROLL) |
#define EDIT_STYLE_WRAP |
BOOL NOTEPAD_FindNext | ( | FINDREPLACE * | , |
BOOL | , | ||
BOOL | |||
) |
Definition at line 143 of file main.c.
Referenced by DIALOG_SearchNext(), NOTEPAD_ReplaceAll(), and NOTEPAD_WndProc().
Definition at line 114 of file settings.c.
Referenced by _tWinMain().
Definition at line 227 of file settings.c.
Referenced by NOTEPAD_WndProc().
BOOL ReadText | ( | HANDLE | hFile, |
LPWSTR * | ppszText, | ||
DWORD * | pdwTextLen, | ||
ENCODING * | pencFile, | ||
int * | piEoln | ||
) |
Definition at line 96 of file text.c.
Referenced by DoOpenFile().
Definition at line 368 of file text.c.
Referenced by DoSaveFile().
NOTEPAD_GLOBALS Globals |