195
195
cbStyledTextCtrl* ed = cb->GetControl();
196
196
wxMemoryBuffer mb = ed->GetStyledText(0, ed->GetLength() - 1);
200
if (wxMessageBox(_("Would you like to have the line numbers printed in the exported file?"), _("Export line numbers"), wxYES_NO | wxYES_DEFAULT | wxICON_QUESTION) == wxYES)
197
205
EditorColourSet *ecs = cb->GetColourSet();
199
exp->Export(filename, cb->GetFilename(), mb, ecs);
207
exp->Export(filename, cb->GetFilename(), mb, ecs, lineCount);