Petrichor Park
100504d2f5
notepad: Use GetDpiForWindow().
...
Instead of querying the registry, just calls `GetDpiForWindow`.
Winecfg's DPI slider sets `Control Panel\\Desktop\\LogPixels`.
See `programs/winecfg/x11drvdlg.c`
Notepad queries `Software\\Fonts\\LogPixels`, and so doesn't pick up
on the change.
2023-07-19 10:44:51 +02:00
Gabriel Ivăncescu
929fdbbf55
notepad: Fix uninitialized upper 64-bits of pos
in DoFind.
...
And get rid of the hacky casts.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-01-18 22:55:19 +01:00
Jacob Czekalla
377481180e
notepad: Show goto dialog box.
2022-09-23 15:16:48 +02:00
Jacob Czekalla
799c24aa81
notepad: Track and display line number and column.
2022-09-14 22:38:34 +02:00
Jacob Czekalla
dd3fa4e9ef
notepad: Show status bar.
2022-09-14 22:38:34 +02:00
Rémi Bernon
e2f7f01ac8
notepad: Avoid using pointer value after free.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Zhiyi Zhang
026a6ff2be
notepad: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-10 23:04:03 +02:00
Jacek Caban
312ea8e72c
notepad: Use int for point size value.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 22:07:32 +02:00
Alexandre Julliard
bc968469f2
notepad: Fix parsing of quoted command line.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-21 17:11:43 +02:00
Alexandre Julliard
ad21554ecd
notepad: Use C runtime wchar functions instead of wine/unicode.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 11:42:31 +02:00
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