Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-07-20 15:21:49 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2005-07-20 15:21:49 +0400
commit006351e5617b3cb2c6155d6b7a746d8f20a0d31a (patch)
tree5814082ac755bb19201c08d5cfe6b0d363bbb680 /winsup/w32api/include
parent0eccec28cc616e0d72ff308db4c2a6efa26092d5 (diff)
* include/richedit.h (SETTEXTEX): Define structure and
associated constants. (GT_SELECTION): Define GETTEXTEX flag constant.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/richedit.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/winsup/w32api/include/richedit.h b/winsup/w32api/include/richedit.h
index b534a352c..8cb57e88e 100644
--- a/winsup/w32api/include/richedit.h
+++ b/winsup/w32api/include/richedit.h
@@ -257,8 +257,6 @@ extern "C" {
#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
@@ -478,6 +476,18 @@ typedef struct _gettextex {
LPCSTR lpDefaultChar;
LPBOOL lpUsedDefChar;
} GETTEXTEX;
+/* GETTEXTEX flags */
+#define GT_DEFAULT 0
+#define GT_USECRLF 1
+#define GT_SELECTION 2
+typedef struct _settextex {
+ DWORD flags;
+ UINT codepage;
+} SETTEXTEX;
+/* SETTEXTEX flags */
+#define ST_DEFAULT 0
+#define ST_KEEPUNDO 1
+#define ST_SELECTION 2
typedef LONG (*EDITWORDBREAKPROCEX)(char*,LONG,BYTE,INT);
/* Defines for EM_SETTYPOGRAPHYOPTIONS */
#define TO_ADVANCEDTYPOGRAPHY 1