Maintained by: Thomas Kho <[email protected]> Last Updated: 20 June 2006
This page contains notes on the rich edit control in riched20.dll and lists features that would be nice to have implemented.
Course Links:
Message | WineHQ Hits | Comments |
---|---|---|
|
4 | provides automatic url detection [also EM_GETAUTOURLDETECT] |
EM_DISPLAYBAND | 1 | formatting for output device, depends on EM_FORMATRANGE |
EM_EXLIMITTEXT | 15 | specify max characters for a rich edit control [also EM_GETLIMITTEXT, EM_LIMITTEXT] |
EM_FINDTEXT | ? | |
EM_FORMATRANGE | 3 | formatting for output device |
EM_GETLANGOPTIONS | 1 | [also EM_SETLANGOPTIONS] |
EM_GETLINE | 2 | |
1 | ||
EM_SCROLL | 1 (google earth) | scroll rich edit control |
1 | scroll so that the caret is visible - I am implementing this as an example for CS 130 students | |
1 | Implemented 20060131 | |
EM_SETOPTIONS | 1 | |
EM_SETTARGETDEVICE | 1 | |
EM_SETTEXTMODE | 2 | |
EM_SETUNDOLIMIT | 2 | |
WM_SETFONT | lots | |
WM_STYLECHANGING | lots | |
WM_STYLECHANGED | lots |
Patches I'm trying to get committed
Other current patches
Committed patches
Old patches
The ME_TextEditor structure in editstr.h defines the edit box. Members are aptly named, including:
The ME_TextBuffer contains a pointer into a doubly-linked list of ME_DisplayItem. An ME_DisplayItem has a member that is one of [via a union] run, row, paragraph, ustyle. The apparent relationship is as follows: a paragraph consists of one or more rows. Each row consists of one or more runs of text, with the text in each run having the same formatting.
This file shows the internal representation for some sample text. You can view the structure of the ME_TextBuffer with ME_DumpDocument() after setting your environment with "WINE_DEBUG=trace+richedit_lists".