2382 |
2382 |
2383 def saveContents(self): |
2383 def saveContents(self): |
2384 """ |
2384 """ |
2385 Public method to save the current contents to a file. |
2385 Public method to save the current contents to a file. |
2386 """ |
2386 """ |
2387 # TODO: not yet implemented |
|
2388 txt = self.text() |
2387 txt = self.text() |
2389 if txt: |
2388 if txt: |
2390 fn, selectedFilter = EricFileDialog.getSaveFileNameAndFilter( |
2389 fn, selectedFilter = EricFileDialog.getSaveFileNameAndFilter( |
2391 self, |
2390 self, |
2392 self.tr("Save Shell Contents"), |
2391 self.tr("Save Shell Contents"), |