Changeset 4073
- Timestamp:
- 05/05/08 13:37:43 (2 months ago)
- Files:
-
- branches/ed-ide/components/TextEditor/TextEditor.py (modified) (4 diffs)
- branches/ed-ide/components/TextEditor/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/ed-ide/components/TextEditor/TextEditor.py
r4063 r4073 90 90 self.editor.setFocus() 91 91 self.editor.bindEvent(dEvents.TitleChanged, self.onTitleChanged) 92 self.editor.bindEvent(dEvents.MouseRightClick, self.Form.onEditorRightClick)92 # self.editor.bindEvent(dEvents.MouseRightClick, self.Form.onEditorRightClick) 93 93 # Set up the file drop target 94 94 self.editor.DroppedFileHandler = self.Form … … 112 112 self._outputSashExtra = self.Height - self.splitter.SashPosition 113 113 self.Application.setUserSetting("texteditorform.outputSashExtra", self._outputSashExtra) 114 115 114 115 116 def openFile(self, pth): 117 return self.editor.openFile(pth) 118 119 116 120 def outputUpdate(self): 117 121 if self and self.p: … … 130 134 title = self.editor._title 131 135 self.Caption = title 132 self.Form.onTitleChanged(evt)136 # self.Form.onTitleChanged(evt) 133 137 134 138 … … 141 145 142 146 143 def onDestroy(self, evt):144 dabo.ui.callAfter(self.Form.onTitleChanged, evt)147 # def onDestroy(self, evt): 148 # dabo.ui.callAfter(self.Form.onTitleChanged, evt) 145 149 146 150 branches/ed-ide/components/TextEditor/__init__.py
r4063 r4073 2 2 # -*- coding: utf-8 -*- 3 3 4 from TextEditor import TextEditorForm4 from TextEditor import EditorPage as TextEditorPage
