QScintilla/Editor.py

changeset 2424
8fe1fdc174ab
parent 2409
df3820f08247
child 2490
3d011f457ddd
--- a/QScintilla/Editor.py	Sat Feb 16 16:32:32 2013 +0100
+++ b/QScintilla/Editor.py	Sun Feb 17 18:23:01 2013 +0100
@@ -1764,22 +1764,6 @@
         
         return False
     
-    def isPreviewable(self):
-        """
-        Public method to check, if the contents of the file is previewable in
-        a web browser.
-        
-        @return flag indicating a previewable file (boolean)
-        """
-        if self.fileName is not None and \
-           os.path.splitext(self.fileName)[1][1:] in Preferences.getEditor(
-            "PreviewableFileNameExtensions"):
-            return True
-        elif self.getLanguage() == "HTML":
-            return True
-        else:
-            return False
-    
     def highlightVisible(self):
         """
         Public method to make sure that the highlight is visible.

eric ide

mercurial