comparison libgui/src/m-editor/file-editor.cc @ 19640:3156773fcc80 gui-release

open a doc page from editor directly without command window * file-editor.cc (add_file_editor_tab): connect new signal from edit area requesting showing the documentation * octave-qscintilla.cc (contextmenu_help_doc): emit new signal for documentation * octave-qscintilla.h: new signal for documentation
author Torsten <ttl@justmail.de>
date Thu, 22 Jan 2015 19:02:24 +0100
parents d258070914ef
children 4b980842edba
comparison
equal deleted inserted replaced
19639:d258070914ef 19640:3156773fcc80
1584 1584
1585 // signals from the qscintilla edit area 1585 // signals from the qscintilla edit area
1586 connect (f->qsci_edit_area (), SIGNAL (status_update (bool, bool)), 1586 connect (f->qsci_edit_area (), SIGNAL (status_update (bool, bool)),
1587 this, SLOT (edit_status_update (bool, bool))); 1587 this, SLOT (edit_status_update (bool, bool)));
1588 1588
1589 connect (f->qsci_edit_area (), SIGNAL (show_doc_signal (const QString&)),
1590 main_win (), SLOT (handle_show_doc (const QString&)));
1591
1589 // Signals from the file editor_tab 1592 // Signals from the file editor_tab
1590 connect (f, SIGNAL (file_name_changed (const QString&, const QString&)), 1593 connect (f, SIGNAL (file_name_changed (const QString&, const QString&)),
1591 this, SLOT (handle_file_name_changed (const QString&, 1594 this, SLOT (handle_file_name_changed (const QString&,
1592 const QString&))); 1595 const QString&)));
1593 1596