Diff of /scripts/commandsdoc.py [ebfb4c] .. [e553e9]  Maximize  Restore

Switch to side-by-side view

--- a/scripts/commandsdoc.py
+++ b/scripts/commandsdoc.py
@@ -5,8 +5,9 @@
 
 import os, sys
 
-scintillaDirectory = os.path.join("..", "..", "scintilla", "include")
-sys.path.append(scintillaDirectory)
+scintillaDirectory = os.path.join("..", "..", "scintilla")
+scintillaScriptsDirectory = os.path.join(scintillaDirectory, "scripts")
+sys.path.append(scintillaScriptsDirectory)
 import Face
 
 def cell(s):
@@ -17,7 +18,7 @@
 	out.write("<table>\n")
 	out.write("<thead>%s%s%s</thead>\n" % (cell("Command"), cell("Name"), cell("Explanation")))
 	face = Face.Face()
-	face.ReadFromFile(os.path.join(scintillaDirectory, "Scintilla.iface"))
+	face.ReadFromFile(os.path.join(scintillaDirectory, "include", "Scintilla.iface"))
 	texts = []
 	for name in face.features:
 		#~ print name

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks