Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (richedit) |
|
static int | ME_GetOptimalBuffer (int nLen) |
|
static ME_String * | make_string (void(*free)(ME_String *)) |
|
ME_String * | ME_MakeStringConst (const WCHAR *str, int len) |
|
static void | heap_string_free (ME_String *s) |
|
ME_String * | ME_MakeStringEmpty (int nMaxChars) |
|
ME_String * | ME_MakeStringN (LPCWSTR szText, int nMaxChars) |
|
ME_String * | ME_MakeStringR (WCHAR cRepeat, int nMaxChars) |
|
void | ME_DestroyString (ME_String *s) |
|
BOOL | ME_InsertString (ME_String *s, int ofs, const WCHAR *insert, int len) |
|
BOOL | ME_AppendString (ME_String *s, const WCHAR *append, int len) |
|
ME_String * | ME_VSplitString (ME_String *orig, int charidx) |
|
void | ME_StrDeleteV (ME_String *s, int nVChar, int nChars) |
|
static int | ME_WordBreakProc (LPWSTR s, INT start, INT len, INT code) |
|
int | ME_CallWordBreakProc (ME_TextEditor *editor, WCHAR *str, INT len, INT start, INT code) |
|
LPWSTR | ME_ToUnicode (LONG codepage, LPVOID psz, INT *len) |
|
void | ME_EndToUnicode (LONG codepage, LPVOID psz) |
|
◆ heap_string_free()
◆ make_string()
◆ ME_AppendString()
Definition at line 126 of file string.c.
127{
129}
BOOL ME_InsertString(ME_String *s, int ofs, const WCHAR *insert, int len)
static void append(struct dump_context *dc, const void *data, unsigned size)
Referenced by ME_JoinParagraphs(), and ME_SplitParagraph().
◆ ME_CallWordBreakProc()
Definition at line 204 of file string.c.
205{
209
210
212 } else {
223 }
224}
#define WideCharToMultiByte
static int ME_WordBreakProc(LPWSTR s, INT start, INT len, INT code)
EDITWORDBREAKPROCW pfnWordBreak
static void buffer_size(GLcontext *ctx, GLuint *width, GLuint *height)
Referenced by ME_MoveCursorWords().
◆ ME_DestroyString()
◆ ME_EndToUnicode()
◆ ME_GetOptimalBuffer()
static int ME_GetOptimalBuffer |
( |
int |
nLen | ) |
|
|
static |
◆ ME_InsertString()
Definition at line 103 of file string.c.
104{
107
110
111 if( new_len >
s->nBuffer )
112 {
115 if (!
new)
return FALSE;
117 }
118
119 memmove(
s->szData + ofs +
len,
s->szData + ofs, (
s->nLen - ofs + 1) *
sizeof(
WCHAR) );
122
124}
static void * heap_realloc(void *mem, size_t len)
static int ME_GetOptimalBuffer(int nLen)
#define memcpy(s1, s2, n)
#define memmove(s1, s2, n)
Referenced by ME_AppendString(), and ME_InsertRunAtCursor().
◆ ME_MakeStringConst()
Definition at line 41 of file string.c.
42{
45
50}
static ME_String * make_string(void(*free)(ME_String *))
Referenced by para_num_init().
◆ ME_MakeStringEmpty()
◆ ME_MakeStringN()
◆ ME_MakeStringR()
Definition at line 85 of file string.c.
86{
89
91 for (
i = 0;
i < nMaxChars;
i++)
92 s->szData[
i] = cRepeat;
94}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by draw_text(), ME_CharFromPointContext(), ME_GetRunSizeCommon(), and ME_PointFromCharContext().
◆ ME_StrDeleteV()
◆ ME_ToUnicode()
Definition at line 226 of file string.c.
227{
229 if (!psz)
return NULL;
230
232 {
234 return psz;
235 }
236 else {
239
240 if(!nChars)
return NULL;
241
244 return tmp;
245 }
246}
#define MultiByteToWideChar
Referenced by ME_HandleMessage(), and ME_SetText().
◆ ME_VSplitString()
◆ ME_WordBreakProc()
Definition at line 162 of file string.c.
163{
164#ifndef __REACTOS__
165
166#endif
167 TRACE(
"s==%s, start==%d, len==%d, code==%d\n",
169
171 {
178#ifdef __REACTOS__
181#else
184#endif
188#ifdef __REACTOS__
191#else
194#endif
198 }
199 return 0;
200}
static int ME_IsWSpace(WCHAR ch)
Referenced by ME_CallWordBreakProc().
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
richedit |
| ) |
|