I recently liked the D language, and found that editra is a good tool that supports the D language and many language syntaxes.
Editor, The filebrowser plug-in encountered a problem during use, that is, an exception occurs when you click a node in the directory tree.
Since editra is written in Python, its plug-in is also a python module, each plug-in is an egg file, in essence
Is a zip file, which contains the plug-in Code and related information. Fix the bug.
Assume that your editra is installed in C: \ Program Files \ editra \ and the filebrowser plug-in has been installed,
In C: \ Program Files \ editra \ plugins or % USERPROFILE % \. editra \ plugins, find
Filebrowser-0.6-py2.5.egg, name it filebrowser-0.6-py2.5.zip, and then resolve it
Decompress the package and generate two directories:
Filebrowser
Egg-Info
Go to filebrowser, open browser. py, and go to row 489:
Return r_txt + util. getpathchar (). Join (PATH)
Change it:
Return r_txt + OS. Path. sep. Join (PATH)
Save the disk and exit. Do not change the indentation of the row. Then compile browser. py into browser. PyC.
Update the file with the same name in filebrowser-0.6-py2.5.zip with the new browser.pyand browser.pyc. Last
Rename filebrowser-0.6-py2.5.zip to a FileBrowser-0.6-py2.5.egg.