a small script to toggle between header and cpp
replace the -> with tab character.
paste into drPython. call replace "->" with special
char '\t' tab. This should be all.
if os.path.splitext(DrFilename).lower() == ".cpp":
->newext = ".h"
elif os.path.splitext(DrFilename).lower() == ".h":
->newext = ".cpp"
if newext != "":
->newfile = os.path.splitext(DrFilename) + newext
->alreadyopen = map(lambda x: x.filename, DrFrame.txtDocumentArray)
->if newfile in alreadyopen:
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.