anchor.diff:              return 0;
   
             case IDM_FORMAT_FONT:
  -            final font = NotepadFont(hwndEdit);
  -
               if (font.NotepadChooseFont(hwnd)) {
                 font.NotepadSetFont(hwndEdit);
               }
  
positive.code:     return res;
    }
  
    static int MainWindowProc(int hwnd, int uMsg, int wParam, int lParam) {
      switch (uMsg) {
        case WM_CREATE:
          hwndEdit = CreateWindowEx(
              0,
  
negative.code:         return 0;
  
        case WM_CLOSE:
          if (!isFileDirty || AskAboutSave(hwnd) != IDCANCEL) {
            DestroyWindow(hwnd);
          }
          return 0;
  
        case WM_QUERYENDSESSION:
          if (!isFileDirty || AskAboutSave(hwnd) != IDCANCEL) {
            return 1;
          }
          return 0;
  
        case WM_DESTROY:
          font.Delete();
          PostQuitMessage(0);
          return 0;
  
        default:
          // Process "Find/Replace" messages
  
          if (message == messageFindReplace) {
            pfr = Pointer<FINDREPLACE>.fromAddress(lParam).ref;
  
            if (pfr.Flags & FR_DIALOGTERM == FR_DIALOGTERM) {
  