Skip to content

Commit d07f600

Browse files
Add missing mimetypes property to PyCodeEdit
1 parent d833de0 commit d07f600

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyqode/python/widgets/code_edit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ class PyCodeEdit(api.CodeEdit):
3131
DARK_STYLE = 0
3232
LIGHT_STYLE = 1
3333

34+
mimetypes = ['text/x-python']
35+
3436
def __init__(self, parent=None):
3537
super(PyCodeEdit, self).__init__(parent)
3638
self.file = pymanagers.PyFileManager(self)

0 commit comments

Comments
 (0)