Commit Graph

203 Commits

Author SHA1 Message Date
Dylan Smith 8e8c02a71f wordpad: Sort tab stops by numeric value rather than as string.
The bug could be seen by inserting tabs stops 1cm, 2cm, & 10cm.  The
10cm tab stop would be inserted before 2cm since the comparison isn't
based on the numeric value.
2009-02-26 12:10:51 +01:00
Dylan Smith 0292135a92 wordpad: Show error when user tries to add more than max tab stops.
Previously there was no such error, and if more than MAX_TAB_STOPS were
added, then some of the tab stops would be silently discarded.
2009-02-26 12:10:38 +01:00
Anders Jonsson fed3c945f0 wordpad: Add Swedish translation. 2009-01-20 15:17:25 +01:00
Michael Stefaniuc 688bdb645f wordpad: Remove superfluous pointer casts. 2009-01-19 12:46:42 +01:00
Dmitry Timoshkov 1793f55f35 wordpad: Use "-1" as a "don't care value", fix dialog id duplicates. 2009-01-14 12:22:10 +01:00
Dylan Smith 35680c83d1 wordpad: Use unicode version of CBEM_GETITEM message. 2009-01-09 14:06:13 +01:00
Dylan Smith 02c7d192b0 wordpad: Use winelib's sprintfW for floating point formatting.
This fixes a regression introduced by commit
ef23ef9335.
2009-01-09 14:06:13 +01:00
Jonathan Ernst bd91afcea4 wordpad: Updated French translation. 2008-12-17 13:52:39 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon 1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
Rico Schüller bd923fd307 wordpad: Fix German translation. 2008-12-10 10:48:49 +01:00
Rok Mandeljc d551d73c1d wordpad: Updated Slovenian translation. 2008-12-08 12:01:33 +01:00
Hwang YunSong(황윤성) f927b89f3d wordpad: Updated Korean resource. 2008-11-24 14:41:29 +01:00
Hirofumi Katayama 1b8f4b9e48 wordpad: Update resources for date and time dialog. 2008-11-17 13:15:17 +01:00
Hirofumi Katayama 7984e70697 wordpad: Accept double-click in date and time dialog. 2008-11-12 11:49:11 +01:00
Andrey Turkin 783b855f42 wordpad: Do not pass resource ids to MessageBox. 2008-10-23 12:45:08 +02:00
Ricardo Filipe 511226c8ac wordpad: Added Portuguese translation. 2008-10-22 13:54:54 +02:00
Hwang YunSong(황윤성) 07badc790a wordpad: Updated Korean resource. 2008-10-20 14:36:58 +02:00
Frans Kool 730d23046d wordpad: Corrected Dutch translations. 2008-10-15 16:45:14 +02:00
Andrey Turkin 71c01bb974 wordpad: Do not try to close uninitialized handles. 2008-10-15 12:21:59 +02:00
Dylan Smith f124a586d4 wordpad: Added option to disable word wrap. 2008-10-14 13:41:55 +02:00
Andrey Turkin dfb64699bf wordpad: Do not leak a handle on error path. 2008-10-13 11:55:29 +02:00
Andrey Turkin ef23ef9335 wordpad: Use inches instead of cm in calculations. 2008-10-13 11:55:24 +02:00
Muneyuki Noguchi 613685f6d1 wordpad: Convert Japanese resource to UTF-8. 2008-10-13 11:40:30 +02:00
Andrey Turkin fbfb165d56 wordpad: Fix some compile-time warnings. 2008-10-10 14:13:07 +02:00
Andrey Turkin c53b772394 wordpad: Convert some ANSI calls to Unicode. 2008-10-10 14:12:43 +02:00
Andrey Turkin 566dcd78fe wordpad: Fix some unicode bugs. 2008-10-10 14:12:32 +02:00
Muneyuki Noguchi 595dc28620 wordpad: Use "MS Shell Dlg" 9 in Japanese resources. 2008-09-25 13:27:58 +02:00
Gerald Pfeifer 95613fbdd2 wordpad: Shed off unused parameters from on_fontlist_modified, OnCreate, OnUser, OnNotify, and OnInitPopupMenu. 2008-09-09 11:46:14 +02:00
Michael Stefaniuc ba94f959db worpad: Fix the German translation. 2008-09-08 12:47:20 +02:00
Michael Stefaniuc 5f8ab11751 wordpad: Change the encoding of the German resource file to utf-8. 2008-09-08 12:47:20 +02:00
Michael Stefaniuc d94a90273e wordpad: Fix the Hungarian translation by removing an untranslated and incomplete STRINGTABLE. 2008-09-08 12:47:20 +02:00
Katayama Hirofumi MZ 13359ce22b wordpad: Added Japanese resource. 2008-09-02 21:34:55 +02:00
Hongbo Ni 1e4704195e wordpad: Add simplified and traditional Chinese resources. 2008-09-02 11:57:55 +02:00
David Adam 2ca1fe29b8 wordpad: Update the French translation. 2008-08-21 13:26:56 +02:00
Gerald Pfeifer 412cd04cfc wordpad: Remove unused parameter for preview_command(). 2008-07-23 11:20:50 +02:00
Frans Kool c91eb084ce wordpad: Added missing Dutch translations. 2008-07-21 14:37:13 +02:00
Alexander Nicolaysen Sørnes b69592416c wordpad: Show error if file open fails. 2008-07-18 11:05:50 +02:00
Frans Kool 4c31603eb6 wordpad: Fixed and added Dutch translations. 2008-07-16 17:53:50 +02:00
Alexander Nicolaysen Sørnes bd2734d9c6 wordpad: Show error message if saving fails. 2008-07-14 12:25:24 +02:00
Dylan Smith e3efa88c45 richedit: Cannot undo setting of default character format.
This also reverts commit 2b52dd845097f16076c0185b02a003f63898dcab:
wordpad: Empty the richedit undo buffer on creation.

The reverted commit I created to fix an issue that only applied to Wine,
but it just masked the issue which was in richedit controls.  The
default character format was set in two places while wordpad was
starting up, and caused wordpad to have two undo items at startup.
2008-07-14 12:22:44 +02:00
Dylan Smith fcaa599181 wordpad: Properly save window rect on closing Min/Maximized windows.
Previously the window size and position was obtained in such a way that
when the window is closed while minimized, it would be hidden when the
program is started again.  Closing a maximized window would save the
size of the maximized window and use it as the normal/restored size when
the program is started again.
2008-07-04 20:24:54 +02:00
Dmitry Timoshkov da88293338 wordpad: Pass correct parameters to WM_SIZE message handler. 2008-06-27 12:32:21 +02:00
Dylan Smith 8769e706cc wordpad: Fixed a bug in setting the recent file list in the registry. 2008-06-20 12:34:57 +02:00
Dylan Smith d0927f63aa wordpad: Fixed bugs that prevented setting alignment through dialog.
The combobox to select the alignment in the paragraph format dialog
did not have enough height to display the dropdown list.  Also, code was
missing to set the alignment when OK button is pressed. This patch fixes
these issues.
2008-06-20 12:34:39 +02:00
Dylan Smith 7fe5d6ad60 wordpad: Fixed calculations for the paragraph format dialog. 2008-06-20 12:32:52 +02:00
Dylan Smith 2ee7bcc13c wordpad: Apply changes on dropdown selection for comboboxes on toolbar.
The changes were previously being applied only when the combobox's edit
control lost focus notifying an end edit event.  In addition, the
selection of an item from the dropdown list should also cause the
changes to be applied. New functions were created to handle the
duplication in expected behaviour for these two events.
2008-06-20 12:32:30 +02:00
Dylan Smith 6fab4754d7 wordpad: Fixed the font size validation for the toolbar's combobox. 2008-06-20 12:30:47 +02:00
Dylan Smith 536edd7bfc wordpad: Added style to the richedit control to not hide selection.
When run with the native richedit control the selection will be hidden
when focus is lost without the ES_NOHIDESEL style applied to the
richedit control.  This can be annoying in native windows when focus is
on a combobox in the toolbar, because it won't show what text will be
changed.  This patch adds the ES_NOHIDESEL style to be consistent with
native wordpad.
2008-06-20 12:29:39 +02:00
Francois Gouget d81fb8e027 Remove spaces before '...' in the Danish resources. 2008-06-16 15:52:21 +02:00