Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-14641

Speed up notepad loading

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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://blogs.msdn.microsoft.com/oldnewthing/20180521-00/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                learn_more Mark Jansen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: