Commit Graph

12 Commits

Author SHA1 Message Date
Michael Kaufmann e1d7ff9588 - Fix text placement.
- Paint the border correctly if its size is bigger than 1 pixel.
- Don't paint text over the border.
- Fix the edit control placement tests: Put the edit box in a parent
  window.
- Tidied up the edit control tests.
2005-09-06 11:40:01 +00:00
Vitaliy Margolen d30f1fd738 Fix some failing tests. 2005-07-05 14:04:25 +00:00
Michael Kaufmann 41a9757654 - Remove the old margins from the format rectangle before adding the
new margins.
- Adjust the format rectangle and repaint the control after the
  margins have been set.
- New tests.
2005-06-25 18:32:07 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Mike McCormack f674f1f71b Fix declarations. 2005-06-15 10:20:53 +00:00
Lauri Tulmin f124878918 - EM_CHARFROMPOS should return the closest char (clicking on the first
half of a character should return current char and clicking on the
  second half should return next char)
- EM_POSFROMCHAR should return -1 if character index is greater or
  equal to text length
2005-06-14 12:24:48 +00:00
Lauri Tulmin c40562307c Add more tests for text placement in single and multiline edit
controls. Some of the tests are marked as todo.
2005-06-09 20:32:32 +00:00
Lauri Tulmin a810802235 Don't truncate text on WM_SETTEXT and send EN_MAXTEXT. 2005-06-05 19:19:11 +00:00
C. Scott Ananian aa6367400a EDIT_EM_SetSel: Old/new selection range ordering code would break when
old_end < start < end < old_start.
Reset EF_UPDATE flag after we've sent the update.
2005-03-22 16:40:36 +00:00
Francois Gouget a370f3fc0b ES_COMBO is not defined in the Windows headers. So define it if
necessary so the test can be compiled on Windows.
2005-02-14 11:02:06 +00:00
Ge van Geldorp c33c2da87d - Fix vertical position of text in single-line edit controls.
- Add tests for this.
2004-11-28 14:55:42 +00:00
Vitaliy Margolen d1e44d0763 - return "want all keys" for WM_GETDLGCODE when multi-line
- single-line edit control does not want all messages
- additional style combinations are possible for both multi-line and
  single-line edit controls
- tests to confirm it
2004-11-08 22:10:05 +00:00