Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
Description
To load a file, Notepad maps a view of the file as a memory-mapped file and uses that as the source.
|
The code figures out the encoding,
|
performs a code page conversion to UTF-16LE if necessary,
|
puts the result in a memory block,
|
and then uses the EM_SETÂHANDLE message to hand that entire block to the edit control.
|
https://devblogs.microsoft.com/oldnewthing/20180521-00/?p=98795
Attachments
Issue Links
- is blocked by
-
CORE-18826 Opening "empty test.txt" file onto notepad leads to "Handle is invalid" error
- Resolved
-
CORE-18944 Regression: Unexpected condition in EDIT_UnlockBuffer when editing explore.exe with Notepad
- Untriaged
- is duplicated by
-
CORE-16143 Reading large textfiles with notepad
- Resolved