Commit Graph

88 Commits

Author SHA1 Message Date
Michael Stefaniuc d98be23eab notepad: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-23 09:22:46 +02:00
Bruno Jesus bd19402b6d notepad: Only skip valid command options.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 09:17:48 +01:00
Sebastian Lackner 8a73016819 notepad: New files should be created immediately. 2015-08-25 17:43:01 +09:00
André Hentschel 457c5f1977 notepad: Use character count for GetFileTitleW (Coverity). 2015-07-20 06:32:54 +02:00
Vincent Povirk 8e873c8afc notepad: Check IsDialogMessage before TranslateAccelerator. 2014-06-13 16:05:05 +02:00
Frédéric Delanoy dc8b11e6f4 notepad: Use BOOL type where appropriate. 2014-02-27 09:32:57 -06:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Francois Gouget 9b21a106cc notepad: Remove the 'Help on Help' menu.
It is redundant with the help application's 'Help' menu and clutters notepad.
2011-04-01 11:38:18 +02:00
Francois Gouget 80cf194e14 notepad: Remove the unimplemented help search menu. 2011-03-31 13:20:00 +02:00
Alexandre Julliard 4c917904ae notepad: Set the window class small icon. 2010-04-19 20:12:34 +02:00
Kusanagi Kouichi 3b6c20e486 notepad: Increase the text limit. 2010-02-10 14:30:59 +01:00
Alexander Scott-Johns 0c82108a48 notepad: Add Cancel button to message box displayed when opening a non-existent file with the command line. 2009-07-08 20:13:53 +02:00
Alexander Scott-Johns 67766392bf notepad: Allow user to choose which encoding to open and save files in. 2009-07-02 13:05:54 +02:00
Alexander Scott-Johns 080cc90992 notepad: Remember the encoding of files when they are opened, and use the same encoding when saving. 2009-07-02 13:05:50 +02:00
Alexander Scott-Johns 42729bc1c1 notepad: Fix trying to open non-existent files with the command line. 2009-07-02 12:58:16 +02:00
Michael Stefaniuc 129889b287 notepad: Use the ARRAY_SIZE() macro if we already have it. 2009-05-28 12:42:18 +02:00
Michael Stefaniuc cdc5b0c29b notepad: Rename the SIZEOF macro to the more descriptive ARRAY_SIZE.
SIZEOF looks just like one of the typical Win32 API capitalizations of
the basic C construct which it isn't.
2009-05-28 12:42:18 +02:00
Michael Stefaniuc f66b600449 notepad: The UNICODE define isn't needed anymore; remove it.
Add the WINE_NO_UNICODE_MACROS define to prevent the AW form of
functions and types from creeping back in.
2009-05-19 11:58:53 +02:00
Michael Stefaniuc 27c8839f66 notepad: Use the explicit W-form of the functions. 2009-05-19 11:58:53 +02:00
Michael Stefaniuc f706c68cf9 notepad: Use the more specific MAKEINTRESOURCEW macro. 2009-05-19 11:58:53 +02:00
Michael Stefaniuc 256d3a2ee1 notepad: Use the explicit W-form of the registry functions. 2009-05-08 12:26:56 +02:00
Michael Stefaniuc 1a60da74f9 notepad: Use the explicit W-form for some string functions. 2009-05-08 12:26:54 +02:00
Michael Stefaniuc 3e7647ad72 notepad: Use the explicit W-form of the types. 2009-05-07 14:44:22 +02:00
Francois Gouget cdc82702ba notepad: Make NOTEPAD_DoReplace(All)?() static. 2009-05-06 12:20:10 +02:00
Michael Stefaniuc 0c702d140c notepad: Use the explicit SendMessageW form. 2009-05-05 14:13:53 +02:00
Rico Schüller 3137600651 notepad: Implement replace. 2009-04-27 14:32:34 +02:00
Katayama Hirofumi MZ 873b971bb7 notepad: Don't save maximized size. 2008-10-29 11:51:48 +01:00
Alexander Nicolaysen Sørnes 87a871efe4 notepad: Only append .txt to missing files without a dot in them. 2008-09-09 11:46:14 +02:00
Francois Gouget 5bc7b784cb notepad: Improve handling of quoted filenames. 2008-06-10 17:43:00 +02:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Rob Shearman 90efadc540 notepad: Remove the License and NO WARRANTY options from the Help->Information popup menu as the same information can now be viewed from the About dialog.
Remove the Help->Information popup menu and rename the "About Wine"
option to "About Notepad".
2008-03-28 21:42:15 +01:00
Alexander Nicolaysen Sørnes 29b69c54b0 notepad: Add program icon. 2007-08-28 12:42:12 +02:00
Rolf Kalbermatter 5eb6c11aba notepad: Improve printing considerably.
Make fonts and the other measurements the correct size in relation to
the actual printer resolution instead of thinking it uses the same
resolution as the display.  Before fixed sized (and for most printer
resolutions way to small) margins where used and the font size was
taken directly from the screen font independent of the actual printer
resolution, resulting in a completely unreadable micro text on most
printouts.
2007-04-10 21:47:25 +02:00
Rolf Kalbermatter a07e9c6933 notepad: Fix a possible rounding error when storing the font point size to the registry. 2007-04-02 11:35:29 +02:00
Rolf Kalbermatter 3cae920399 notepad: Implement handling of page setup dialog parameters. 2007-04-02 11:35:11 +02:00
Alexandre Julliard cd5a04fd95 notepad: Fallback to default position if saved position if off-screen. 2006-10-24 12:27:28 +02:00
Mikołaj Zalewski 84fc75c3d2 notepad: Implement Find and Find Next. 2006-10-23 15:14:10 +02:00
Byeong-Sik Jeon 876c9d16cd notepad: Use HKCU\Software\Microsoft\Notepad for font and window-geometry. 2006-09-20 12:25:08 +02:00
Duane Clark d51faa74db notepad: Change notepad printing font. 2006-07-17 15:05:38 +02:00
Thomas Kho 0796fe256b notepad: Change window classname from NPClass to Notepad. 2006-07-07 14:30:35 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Dmitry Timoshkov 832ec70565 notepad: Wrap long lines by default like Windows does. 2006-02-28 15:37:24 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Robert Shearman 8be66cb30e notepad: Remember options selected in the print setup dialog. 2005-12-08 11:57:58 +01:00
Pavel Roskin 5f5418a331 Improve font support in Notepad. 2005-12-01 12:35:13 +01:00
Jan Nieuwenhuizen ea48acb5be Windows XP does not always include the executable file name on the
command line.
2005-10-26 10:07:31 +00:00
Dmitry Timoshkov 12b2cf4c77 Fix the usage of COLOR_xxx constants in the place of the window's
class hbrBackground.
2005-09-20 12:02:45 +00:00
Kevin Koltzau 55c1073b76 Enable/disable menu items based on edit control state. 2005-05-13 13:55:32 +00:00
Francois Gouget d4779e20c8 Bring up the File->Save dialog when receiving WM_QUERYENDSESSION. 2004-10-08 20:49:24 +00:00
Michael Kaufmann 9a65546951 Added a 3D border for Notepad's edit control. 2004-09-20 19:11:59 +00:00