diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2002-06-09 05:02:01 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2002-06-09 05:02:01 +0000 |
commit | 3c1736432d262a979e74bed9e761fe52a82a8fbd (patch) | |
tree | 417fccd74ca4542e5fa578de51340b7f93ea871a | |
parent | 94cc482c646f890f26c37f47d945c3c50f7fff87 (diff) | |
download | newlib-3c1736432d262a979e74bed9e761fe52a82a8fbd.zip newlib-3c1736432d262a979e74bed9e761fe52a82a8fbd.tar.gz newlib-3c1736432d262a979e74bed9e761fe52a82a8fbd.tar.bz2 |
2002-06-09 Gunnar Degnbol <gdegnbol@users.sourceforge.net>
* include/richedit.h (EM_*, TM_*, GT_*): Add new defines.
(GETTEXTEX): Add structure definition.
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/richedit.h | 18 |
2 files changed, 23 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index b8ecf41..d9e8495 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2002-06-09 Gunnar Degnbol <gdegnbol@users.sourceforge.net> + + * include/richedit.h (EM_*, TM_*, GT_*): Add new defines. + (GETTEXTEX): Add structure definition. + 2002-06-08 Danny Smith <dannysmith@users.sourceforge.net> * include/windows.h (ole2.h): #include if !__OBJC__ and diff --git a/winsup/w32api/include/richedit.h b/winsup/w32api/include/richedit.h index f96991a..db58fa7 100644 --- a/winsup/w32api/include/richedit.h +++ b/winsup/w32api/include/richedit.h @@ -139,7 +139,10 @@ extern "C" { #define EM_GETUNDONAME (WM_USER+86) #define EM_GETREDONAME (WM_USER+87) #define EM_STOPGROUPTYPING (WM_USER+88) +#define EM_SETTEXTMODE (WM_USER+89) +#define EM_GETTEXTMODE (WM_USER+90) #define EM_AUTOURLDETECT (WM_USER+91) +#define EM_GETTEXTEX (WM_USER+94) #define EM_GETTEXTLENGTHEX (WM_USER+95) #define EM_SHOWSCROLLBAR (WM_USER+96) #define EM_SETLANGOPTIONS (WM_USER+120) @@ -194,6 +197,14 @@ extern "C" { #define SCF_WORD 2 #define SCF_ALL 4 #define SCF_USEUIRULES 8 +#define TM_PLAINTEXT 1 +#define TM_RICHTEXT 2 +#define TM_SINGLELEVELUNDO 4 +#define TM_MULTILEVELUNDO 8 +#define TM_SINGLECODEPAGE 16 +#define TM_MULTICODEPAGE 32 +#define GT_DEFAULT 0 +#define GT_USECRLF 1 #define yHeightCharPtsMost 1638 #define lDefaultTab 720 @@ -380,6 +391,13 @@ typedef struct _punctuation { UINT iSize; LPSTR szPunctuation; } PUNCTUATION; +typedef struct _gettextex { + DWORD cb; + DWORD flags; + UINT codepage; + LPCSTR lpDefaultChar; + LPBOOL lpUsedDefaultChar; +} GETTEXTEX; typedef LONG (*EDITWORDBREAKPROCEX)(char*,LONG,BYTE,INT); /* Defines for EM_SETTYPOGRAPHYOPTIONS */ #define TO_ADVANCEDTYPOGRAPHY 1 |