If some one is interested: I have improved my script a little, so it is no usable as a very simple log file viewer. The script can be assigned to a shortkey using the options dialogue and will select changed lines in the reopened file.
import pn
import scintilla
from pypn.decorators import script
@script("LogViewer", "MyScripts")
def reload():
doc = pn.CurrentDoc()
editor = scintilla.Scintilla(pn.CurrentDoc())
start = editor.PositionFromLine(editor.LineCount)
pn.CurrentDoc().Close(True)
pn.OpenDocument(doc.FileName, doc.CurrentScheme)
editor = scintilla.Scintilla(pn.CurrentDoc())
editor.GotoLine(editor.LineCount)
editor.SelectionStart = start
editor.SelectionEnd = editor.PositionFromLine(editor.LineCount)
Any improvements welcome!