anchor.diff:    Location : TLocation;
     NewFormatURL : boolean;
     origLocationStr : string;
  +  Note: TTabNote;
  +  myTreeNode: TTreeNTNode;
   begin
   
     // Handles links that point to a "KNT location" rather than normal file:// URLs.
  
positive.code:       end;
      end;
      delete( LocationStr, 1, p );
  
      if ( LocationStr <> '' ) then
      begin
  
negative.code:       end;
      end;
  
      if Location.NoteID <> 0 then
         Note := notefile.GetNoteByID( Location.NoteID )
      else
         Note := notefile.GetNoteByName( Location.NoteName );
  
      if  assigned(Note) then begin
          Location.NoteID:= Note.ID;
          Location.NoteName:= Note.Name;
      end;
  
  
      p := pos( KNTLINK_SEPARATOR, LocationStr );
      case p of
        0 : begin
  