...
Addition helped at the end:

  runPSPadAction("aSyntax")
  runPSPadAction("aSyntax")



Const module_name = "Row To Block"
Const module_ver = "2.00"

Sub Init
menuName = "&TLUPS"
addMenuItem "&Format Row To Block", menuName, "FormatRowToBlock", "CTRL+F3"
End Sub

Sub FormatRowToBlock
Set ed = newEditor()
ed.assignActiveEditor

ed.openFile("D:\MyProgramm\PSPad editor\Script\svn_xml.h")
ss = ed.highlighter

ed.openFile("D:\MyProgramm\PSPad editor\Script\VBScript\ListTransform.vbs")
ed.highlighter(ss)
ss2 = ed.highlighter

runPSPadAction("aSyntax")
runPSPadAction("aSyntax")
echo ss2

End Sub 



But this decision isn't "beautiful"

-- 
<http://forum.pspad.com/read.php?2,57827,58868>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem