diff -r 5becd66cca02 -r c1792dfc8c7e plugins/c_ext/c_ext.py --- a/plugins/c_ext/c_ext.py Mon Dec 19 01:56:13 2011 +0100 +++ b/plugins/c_ext/c_ext.py Tue Dec 20 23:37:06 2011 +0100 @@ -26,9 +26,13 @@ """ + EditorType = CFileEditor + def __init__(self): filepath = self.CFileName() + self._View = None + self.Buffering = False self.CFile = CFileClasses["CFile"]() if os.path.isfile(filepath): @@ -140,13 +144,6 @@ elif name == "Publish": return self.CFile.publishFunction.gettext() return "" - - def _OpenView(self): - app_frame = self.GetPlugRoot().AppFrame - - cfileeditor = CFileEditor(app_frame.TabsOpened, self, app_frame) - - app_frame.EditProjectElement(cfileeditor, self.GetFilename()) PluginMethods = [ {"bitmap" : os.path.join("images", "EditCfile"), @@ -267,7 +264,8 @@ matiec_flags = '"-I%s"'%os.path.abspath(self.GetPlugRoot().GetIECLibPath()) return [(Gen_Cfile_path, str(self.CExtension.getCFLAGS() + matiec_flags))],str(self.CExtension.getLDFLAGS()),True - + + #------------------------------------------------------------------------------- # Current Buffering Management Functions #-------------------------------------------------------------------------------