Software:Microsoft Notepad

From HandWiki
Revision as of 13:58, 9 February 2024 by OrgMain (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Simple text editor included with Microsoft Windows
Windows Notepad
Notepad.png
Windows Notepad.png
New Notepad on Windows 10
Original author(s)Richard Brodie
Developer(s)Microsoft
Initial release1983; 41 years ago (1983)
(as Multi-Tool Notepad)
Operating systemMicrosoft Windows
PlatformIA-32, x86-64, and ARM (historically Itanium, DEC Alpha, MIPS, and PowerPC)
PredecessorMS-DOS Editor
TypeText editor

Notepad is a simple text editor for Microsoft Windows and a basic text-editing program which enables computer users to create documents. It was first released as a mouse-based MS-DOS program in 1983, and has been included in all versions of Microsoft Windows since Windows 1.0 in 1985.

History

Microsoft introduced Multi-Tool Notepad, a mouse-based text editor written by Richard Brodie, with the $195 Microsoft Mouse in May 1983 at the Spring COMDEX computer expo in Atlanta. Also introduced at that COMDEX was Multi-Tool Word, designed by Charles Simonyi to work with the mouse.[1][2][3] Most watching Simonyi's demonstration had never heard of a mouse.[4] Microsoft released the Microsoft Mouse in June 1983, and the boxed mouse and Multi-Tool Notepad began shipping in July.[5] Initial sales were modest, as there was little one could do with it except run the three demonstration programs included in the box (a tutorial, practice application and Notepad) or program interfaces to it.[6] The Multi-Tool product line began with expert systems for the Multiplan spreadsheet.[7][8] On the suggestion of Rowland Hanson, who also convinced Bill Gates to change the name "Interface Manager" to "Windows" before the release of Windows 1.0, the Multi-Tool name was killed by the time Word shipped in November 1983. Hanson's rationale was that "the brand is the hero". People didn't associate the stand-alone name Multi-Tool with Microsoft, and Hanson wanted to make Microsoft the hero, so the Microsoft name replaced "Multi-Tool".[4][6]

Notepad has appeared on Microsoft Store twice. The first time was in August 2019; it vanished shortly thereafter.[9] This version would run on the preview versions of Windows 10, build number 18963 or later.[10] During this short-lived presence on the Store, technology news blogs speculated that even though Notepad will still be included in Windows out of the box, as of Windows 10 version 20H1, Notepad will no longer be a component of the operating system and updated through the bi-yearly Windows 10 version updates. The speculators believed that it will instead be a separate application receiving updates through the Microsoft Store. This will allow updates to the app to be delivered more frequently.[10][11] This did not happen in version 20H1 or its next version, 20H2. Notepad appeared on Microsoft Store for a second time in April 2020, this time, sporting a new logo. It runs on the preview versions of Windows 10, build number 19541 or later.[9][12]

Features

Notepad is a common text-only (plain text) editor. The resulting files—typically saved with the .txt extension—have no format tags or styles, making the program suitable for editing system files to use in a DOS environment and, occasionally, source code for later compilation or execution, usually through a command prompt. It is also useful for its negligible use of system resources; making for quick load time and processing time, especially on under-powered hardware. Notepad supports both left-to-right and right-to-left based languages. Most versions of Notepad do not interpret newlines in Unix- or classic Mac OS-style text files as actual newlines. However, on May 8, 2018, Microsoft announced that they had fixed this issue in Windows 10.[13] Notepad offers only the most basic text manipulation functions, such as finding text. Only newer versions of Windows include an updated version of Notepad with a search and replace function. However, it has much less functionality in comparison to full-scale editors.

In all versions of Windows, Notepad uses a built-in window class named EDIT and the maximum file size that Notepad can open is dependent on operating system limitations on the size of the EDIT window class, with the limit being different for each version of Windows. Due to the operating system limit of the EDIT window class, the Notepad version shipped with Windows 3.0, Windows 3.1 and Windows 3.11 could not open files larger than 54 KB (kilobytes) and Microsoft recommended not to open files larger than 45 KB, with the official workaround advice provided by Microsoft being "Use another text editor",[14] but this limit was extended to 64 KB in Windows 95 (and remained the same in Windows 98 and Windows Me), with users now directed to WordPad to open larger files. On the Notepad version shipped with Windows XP the limit was 32 MB (megabytes) with the application displaying the message "The file is too large for Notepad. Use another editor to edit the file" if the user attempted to open a file larger than 32 MB.[15] Newer versions of Notepad can open files at least up to 58 MB (megabytes) in size,[16] and on Windows 8.1 the Notepad application is able to open files at least as large as 512 MB (megabytes) but fails to open 1 GB (gigabyte) files displaying the same message that Windows XP users would see ("The file is too large for Notepad. Use another editor to edit the file").[17]

Up to Windows 95, Fixedsys was the only available display font for Notepad. Windows NT 4.0 and 98 introduced the ability to change this font. As of Windows 2000, the default font was changed to Lucida Console. The font setting, however, only affects the font the text is rendered in and printed in, not how the file is saved to disk. The default font was changed to Consolas on Windows 8.

Up to Windows Me, there were almost no keyboard shortcuts and no line-counting feature. Starting with Windows 2000, shortcuts for common tasks like new, open and save were added, as well as a status-bar with a line counter (available only when word-wrap is disabled).

In the Windows NT-based versions of Windows, Notepad can edit traditional 8-bit text files as well as Unicode text files (both UTF-8 and UTF-16, and in case of UTF-16, both little-endian and big-endian).

Notepad also has a simple built-in logging function. Each time a file that starts with .LOG is opened, the program inserts a text timestamp on the last line of the file.[18][19]

Notepad accepts text from the Windows clipboard. When clipboard data with multiple formats is pasted into Notepad, the program only accepts text in the CF_TEXT format.[20] This is useful for stripping embedded font type and style codes from formatted text, such as when copying text from a web page and pasting into an email message or other WYSIWYG text editor. Formatted text can be temporarily pasted into Notepad, and then immediately copied again in stripped format to paste into the other program.

Unicode superscripts with a space as in 98.6 ⁰ = 1 and 3 ² = 9, and subscripts without a space as in H₂O, can be understood in Notepad[original research?] due to Unicode support.

Notepad can print files, but doesn't print correctly if Word Wrap is turned on. Headers, footers, and margins can be set and adjusted when preparing to print a file under Page Setup. The date, file name, and other information can be placed in the headers and footers with various codes consisting of an ampersand ('&') followed by a letter.

Unicode detections

The Windows NT version of Notepad, installed by default on Windows 2000 and Windows XP, can detect Unicode files even when they are missing a byte order mark. To do this, it calls the IsTextUnicode() function of the Windows API.[21] This function is imperfect, incorrectly identifying some all-lowercase ASCII text as UTF-16. As a result, Notepad interprets a file containing a phrase like "aaaa aaa aaa aaaaa" ("4-3-3-5") as a two-byte-encoded Unicode text file and attempts. If a font with support for Chinese is installed, nine Chinese characters (桴獩愠灰挠湡戠敲歡) display. Otherwise, it displays squares instead of Chinese characters.[22] This issue was resolved in Windows Vista and newer versions of Notepad.

Competing software

Notepad does not require a lock on the file it opens, so it can open files that other processes have already opened. In contrast, WordPad cannot. Also, since Notepad lacks many basic features available in other text editors, such as block selection and MDI, yet its simple, minimalistic user interface faster and easier to use for basic text operations.

There are many third-party replacements for Notepad with additional functionality, including both free software such as AkelPad, Metapad, Notepad++, and Notepad2, and freeware such as EditPad, and TED Notepad. These editors come with more advanced features, such as syntax coloring, code folding, regular expressions, macros, support for per-document codepage selection, and themes.

See also

References

  1. "COMDEX: Micros in American mainstream". InfoWorld (IDG): 1. May 23, 1983. ISSN 0199-6649. https://books.google.com/books?id=4i8EAAAAMBAJ&pg=PA1. 
  2. "Mouse and new WP program join Microsoft product lineup". InfoWorld (IDG): 10. May 30, 1983. ISSN 0199-6649. https://books.google.com/books?id=4S8EAAAAMBAJ&pg=PA10. 
  3. "Microsoft ad". IDG. May 23, 1983. p. 85. https://books.google.com/books?id=4i8EAAAAMBAJ&pg=PA85. 
  4. 4.0 4.1 Wallace, James; Erickson, Jim (1992). Hard Drive. Wiley. pp. 238–244. ISBN 0-471-56886-4. https://archive.org/details/harddrivebillgat00wall_0. Retrieved 2017-01-28. 
  5. "In Focus". InfoWorld (IDG): 31. August 29, 1983. ISSN 0199-6649. https://books.google.com/books?id=ty8EAAAAMBAJ&pg=PA31. 
  6. 6.0 6.1 Manes, Stephen (1993). Gates. Doubleday. ISBN 0-385-42075-7. https://books.google.com/?id=KBtPAAAAMAAJ. Retrieved 2017-01-28. 
  7. "Microsoft ad". InfoWorld (IDG): 40. April 25, 1983. ISSN 0199-6649. https://books.google.com/books?id=7i8EAAAAMBAJ&pg=PA40. 
  8. "In designers' scenario, software undergoes behavior modification". InfoWorld (IDG): 34. August 29, 1983. ISSN 0199-6649. https://books.google.com/books?id=ty8EAAAAMBAJ&pg=PA34. 
  9. 9.0 9.1 Wyciślik-Wilson, Mark Sofia (2020-04-19). "Windows Notepad returns to the Microsoft Store with new features". https://betanews.com/2020/04/19/notepad-app-microsoft-store/. "This is not the first time the app has appeared in the Microsoft Store. Originally announced in August last year, Notepad appeared for a while before vanishing." 
  10. 10.0 10.1 Mary Jo Foley (August 17, 2019). "Microsoft makes Notepad a separate Store app starting with new Windows 10 20H1 test build". ZDNet. https://www.zdnet.com/article/microsoft-makes-notepad-a-separate-store-app-starting-with-new-windows-10-20h1-test-build/. 
  11. Mayank Parmar (August 19, 2019). "Windows 10 Notepad Added to Microsoft Store, Only for Insiders". Bleeping Computer. https://www.bleepingcomputer.com/news/microsoft/windows-10-notepad-added-to-microsoft-store-only-for-insiders/. 
  12. Popa, Bogdan. "This Is the New Notepad Icon for Windows 10" (in english). https://news.softpedia.com/news/this-is-the-new-notepad-icon-for-windows-10-529461.shtml. 
  13. "Introducing extended line endings support in Notepad". Microsoft. May 8, 2018. https://blogs.msdn.microsoft.com/commandline/2018/05/08/extended-eol-in-notepad/. 
  14. "Maximum File Size Limits for Notepad". Microsoft. September 24, 2011. https://support.microsoft.com/en-us/kb/59578. 
  15. "What is file size limit for Notepad in Windows XP". Bytes. October 24, 2007. https://bytes.com/topic/desktop-software/answers/727862-what-file-size-limit-notepad-windows-xp. 
  16. "Maximum size for notepad file". Code Project. August 4, 2012. http://www.codeproject.com/Questions/434501/Maximum-size-for-notepad-file. 
  17. Petri, Daniel (October 23, 2015). "Tip for Opening Large Text Files in Windows". Petri. https://www.petri.com/tip-opening-large-files-windows. 
  18. "Features of LOG and Time/Date Command in Notepad". Microsoft. July 19, 2005. http://support.microsoft.com/kb/81067. 
  19. "How to Use Notepad to Create a Log File". Microsoft. December 20, 2004. http://support.microsoft.com/kb/260563. 
  20. ""The Clipboard". http://www.cs.binghamton.edu/~reckert/360/15_clipboard_f03.html. 
  21. "IsTextUnicode()". MSDN. Microsoft. https://msdn.microsoft.com/en-us/library/dd318672(v=vs.85).aspx. 
  22. Chen, Raymond (April 17, 2007). "The Notepad file encoding problem, redux". MSDN. Microsoft. https://devblogs.microsoft.com/oldnewthing/20070417-00/?p=27223. 

External links

  • Notepad in Windows XP Product Documentation at Microsoft.com
  • Notepad FAQ in Windows Vista documentation at Microsoft.com -