Feature #169 Close current tab with Ctrl+W
This commit is contained in:
parent
b4661d535c
commit
51048c159a
|
@ -1,4 +1,7 @@
|
||||||
1.2.1.2
|
1.2.1.3
|
||||||
|
+ Feature #169 Close current tab with Ctrl+W
|
||||||
|
|
||||||
|
1.2.1.2 2014/06/02
|
||||||
+ Feature #69 Add "current XPath" shortcut
|
+ Feature #69 Add "current XPath" shortcut
|
||||||
+ Feature #155 XPath - functions
|
+ Feature #155 XPath - functions
|
||||||
+ Click on the error message to jump to the error location
|
+ Click on the error message to jump to the error location
|
||||||
|
|
|
@ -1047,6 +1047,10 @@ MyFrame::MyFrame (
|
||||||
|
|
||||||
manager.Update();
|
manager.Update();
|
||||||
|
|
||||||
|
wxAcceleratorEntry entry ( wxACCEL_CTRL, WXK_F4, wxID_CLOSE );
|
||||||
|
wxAcceleratorTable accel ( 1, &entry );
|
||||||
|
SetAcceleratorTable ( accel );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
defaultLayout = manager.SavePerspective();
|
defaultLayout = manager.SavePerspective();
|
||||||
|
|
||||||
|
@ -5063,7 +5067,7 @@ wxMenuBar *MyFrame::getMenuBar()
|
||||||
ID_UNFOLD_ALL, _ ( "&Unfold Tags\tCtrl+Shift+U" ), _T ( "Unfold Tags" ) );
|
ID_UNFOLD_ALL, _ ( "&Unfold Tags\tCtrl+Shift+U" ), _T ( "Unfold Tags" ) );
|
||||||
viewMenu->AppendSeparator();
|
viewMenu->AppendSeparator();
|
||||||
viewMenu->AppendCheckItem (
|
viewMenu->AppendCheckItem (
|
||||||
ID_WRAP_WORDS, _ ( "&Wrap Words\tCtrl+W" ), _T ( "Wrap Words" ) );
|
ID_WRAP_WORDS, _ ( "&Wrap Words" ), _T ( "Wrap Words" ) );
|
||||||
viewMenu->Check ( ID_WRAP_WORDS, properties.wrap );
|
viewMenu->Check ( ID_WRAP_WORDS, properties.wrap );
|
||||||
viewMenu->Append ( wxID_ANY, _ ( "&Color Scheme" ), colorSchemeMenu );
|
viewMenu->Append ( wxID_ANY, _ ( "&Color Scheme" ), colorSchemeMenu );
|
||||||
viewMenu->Append ( wxID_ANY, _ ( "&Text Size" ), fontSizeMenu );
|
viewMenu->Append ( wxID_ANY, _ ( "&Text Size" ), fontSizeMenu );
|
||||||
|
@ -5336,7 +5340,7 @@ void MyFrame::updateFileMenu ( bool deleteExisting )
|
||||||
openLargeFileItem->SetBitmap ( wxNullBitmap );
|
openLargeFileItem->SetBitmap ( wxNullBitmap );
|
||||||
|
|
||||||
wxMenuItem *closeItem =
|
wxMenuItem *closeItem =
|
||||||
new wxMenuItem ( fileMenu, wxID_CLOSE, _ ( "&Close\tCtrl+F4" ), _ ( "Close" ) );
|
new wxMenuItem ( fileMenu, wxID_CLOSE, _ ( "&Close\tCtrl+W" ), _ ( "Close" ) );
|
||||||
closeItem->SetBitmap ( wxNullBitmap );
|
closeItem->SetBitmap ( wxNullBitmap );
|
||||||
wxMenuItem *closeAllItem =
|
wxMenuItem *closeAllItem =
|
||||||
new wxMenuItem ( fileMenu, wxID_CLOSE_ALL, _ ( "C&lose All" ), _ ( "Close All" ) );
|
new wxMenuItem ( fileMenu, wxID_CLOSE_ALL, _ ( "C&lose All" ), _ ( "Close All" ) );
|
||||||
|
|
Loading…
Reference in New Issue