pns_debug_tool: Add Emacs as IDE option for Wayne, maybe?
This commit is contained in:
parent
239cbb4637
commit
86368abba2
|
@ -973,7 +973,7 @@
|
|||
<property name="caption"></property>
|
||||
<property name="caption_visible">1</property>
|
||||
<property name="center_pane">0</property>
|
||||
<property name="choices">"VS Code" "CLion"</property>
|
||||
<property name="choices">"VS Code" "CLion" "Emacs"</property>
|
||||
<property name="close_button">1</property>
|
||||
<property name="context_help"></property>
|
||||
<property name="context_menu">1</property>
|
||||
|
|
|
@ -620,6 +620,7 @@ void PNS_LOG_VIEWER_FRAME::onListRightClick( wxMouseEvent& event )
|
|||
{
|
||||
case 0: wxExecute( wxString::Format( "code --goto %s:%s", filepath, line ) ); return;
|
||||
case 1: wxExecute( wxString::Format( "clion --line %s %s", line, filepath ) ); return;
|
||||
case 2: wxExecute( wxString::Format( "emacsclient +%s %s", line, filepath ) ); return;
|
||||
default: return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ PNS_LOG_VIEWER_FRAME_BASE::PNS_LOG_VIEWER_FRAME_BASE( wxWindow* parent, wxWindow
|
|||
|
||||
fgSizer3->Add( m_ideLabel, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
|
||||
|
||||
wxString m_ideChoiceChoices[] = { wxT("VS Code"), wxT("CLion") };
|
||||
wxString m_ideChoiceChoices[] = { wxT("VS Code"), wxT("CLion"), wxT("Emacs") };
|
||||
int m_ideChoiceNChoices = sizeof( m_ideChoiceChoices ) / sizeof( wxString );
|
||||
m_ideChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_ideChoiceNChoices, m_ideChoiceChoices, 0 );
|
||||
m_ideChoice->SetSelection( 0 );
|
||||
|
|
Loading…
Reference in New Issue