• Daniel Pozmanter

    To sum up:  a few minor bugfixes:

    Source Browser works again.
    Non ascii/unicode encoding now functions properly in the document, prompt, and file dialog.
    Code cleanup via pychecker, File Dialog recent file menu fix,
    shortcut fixes, no longer double checks syntax on save as.
    Now uses os.startfile as the default for the documentation browser.
    The drscript menu now displays shortcuts.
    You can now specify a default encoding.  Added an encoding menu to the file dialog.

    • Daniel Pozmanter

      The prompt doesn't work quite right with non ascii encoding (I still need to fiddle there a bit).

      Just to be clear, you need to set the default encoding for it to take effect in the file dialog.

      If your filesystem uses more than one character encoding.... um.  DrPython will explode.

      (Ps I will try to add code to handle bad encoding in the file dialog to the next release).

    • Franz Steinhaeusler

      If there is no drscript file (after fresh install):
      Your drscript file is a tad messed up.

      Traceback (most recent call last):
        File "C:\Eigene Dateien\python\drpython\drScriptMenu.py", line 233, in loadscriptsfromfile
          folders[folderindex].Append((self.ID_SCRIPT_BASE + self.scriptcount), self.getdrscriptmenulabel(line_title))
        File "C:\Eigene Dateien\python\drpython\drScriptMenu.py", line 165, in getdrscriptmenulabel
          shortcuttext = self.parent.DrScriptShortcuts[i].GetLabel()
      IndexError: list index out of range

      Quick fix:
          shortcuttext = ''
        I inserted:
          if self.parent.DrScriptShortcuts != []:
          return label

    • Daniel Pozmanter

      Thanks, got it, this will be in the next release.


Log in to post a comment.