Hi Mick,
As far as I can tell, it cannot be fixed by editing the “Default Format.” I found the region of code where it happens, but have not yet worked out why (or even how formatting one cell can affect the rest on the page). I will work on that.
In the meantime, here is hack that fixes the display by changing the “multiple notes at that level” method when record as one html note. A refinement I added to the hack was to do that only for html notes. In other words, plain text notes will still display
(if only one note there)
Open “Default Format” in GEDitCOM Editor (should be able to hold option key down while selecting “Default Format” from extensions menu in GEDitCOM II). Once opened, locate and expand the “Subroutines” section and click to view the ListBlock subroutine. Near
the top you will find this conditional
if #theTag="NOTE"
! Use second to show all notes in Expression field
ReadAll "#readTheTags",@NOTE
!#readTheTags[0]=0
else
#readTheTags[0]=0
endif
change it to this
if #theTag="NOTE"
! Use second to show all notes in Expression field
ReadAll "#readTheTags",@NOTE
if #readTheTags[0]==1
#nid=#readTheTags[1]
#ntext=chars("1\5\"&trim(@#nid.CONC))
if #ntext="<div>"
#readTheTags[0]=0
endif
endif
!#readTheTags[0]=0
else
#readTheTags[0]=0
endif
This checks the notes to be displayed. If they begin with “<div>” it means you are using html notes. This change will display a link to the notes rather than the html content and the rest of window looks good. Notes with plain text, however, will still show
up in the notes tab (if only one such note). This hack fixes display until I find out why display of html content is messing up things latter in that window.
Regards,
John