From: Leon W. <moo...@us...> - 2005-04-05 08:28:51
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4824 Modified Files: AnyEdit.rc AnyEditView.cpp Log Message: - Removed Show/Hide from View menu items. Check marks remain. Index: AnyEdit.rc =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.rc,v retrieving revision 1.115 retrieving revision 1.116 diff -C2 -d -r1.115 -r1.116 *** AnyEdit.rc 5 Apr 2005 08:20:18 -0000 1.115 --- AnyEdit.rc 5 Apr 2005 08:28:40 -0000 1.116 *************** *** 368,376 **** MENUITEM "Wo&rd Wrap", ID_WORDWRAP MENUITEM SEPARATOR ! MENUITEM "Show &Line Numbers", ID_LINENUMBERS ! MENUITEM "Show BookMark Marg&in", ID_BOOKMARKMARGIN ! MENUITEM "Show &Fold Margin", ID_FOLDMARGIN ! MENUITEM "Show W&hitespaces", ID_VIEW_WHITESPACE ! MENUITEM "Show &EOL", ID_VIEW_EOL MENUITEM SEPARATOR MENUITEM "To&ggle Fold", ID_VIEW_TOGGLEFOLD --- 368,376 ---- MENUITEM "Wo&rd Wrap", ID_WORDWRAP MENUITEM SEPARATOR ! MENUITEM "&Line Numbers", ID_LINENUMBERS ! MENUITEM "Bookmark Marg&in", ID_BOOKMARKMARGIN ! MENUITEM "&Fold Margin", ID_FOLDMARGIN ! MENUITEM "W&hitespace", ID_VIEW_WHITESPACE ! MENUITEM "Display &EOL", ID_VIEW_EOL MENUITEM SEPARATOR MENUITEM "To&ggle Fold", ID_VIEW_TOGGLEFOLD Index: AnyEditView.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.cpp,v retrieving revision 1.88 retrieving revision 1.89 diff -C2 -d -r1.88 -r1.89 *** AnyEditView.cpp 1 Feb 2005 07:02:57 -0000 1.88 --- AnyEditView.cpp 5 Apr 2005 08:28:41 -0000 1.89 *************** *** 1523,1532 **** if( ! m_Scintilla.IsVisibleLineNumber() ) { - pCmdUI->SetText( "Show LineNumbers" ); pCmdUI->SetCheck(0); } else { - pCmdUI->SetText( "Hide LineNumbers" ); pCmdUI->SetCheck(1); } --- 1523,1530 ---- *************** *** 1550,1559 **** if( m_Scintilla.GetMarginWidthN(1) == 0 ) { - pCmdUI->SetText( "Show Bookmark Margin" ); pCmdUI->SetCheck(0); } else { - pCmdUI->SetText( "Hide Bookmark Margin" ); pCmdUI->SetCheck(1); } --- 1548,1555 ---- *************** *** 1578,1587 **** if( m_Scintilla.GetMarginWidthN(2) == 0 ) { - pCmdUI->SetText( "Show Fold Margin" ); pCmdUI->SetCheck(0); } else { - pCmdUI->SetText( "Hide Fold Margin" ); pCmdUI->SetCheck(1); } --- 1574,1581 ---- *************** *** 1605,1614 **** if( m_Scintilla.GetViewWS() == SCWS_INVISIBLE ) { - pCmdUI->SetText( "Show Whitespace" ); pCmdUI->SetCheck(0); } else { - pCmdUI->SetText( "Hide Whitespace" ); pCmdUI->SetCheck(1); } --- 1599,1606 ---- *************** *** 1631,1645 **** { pCmdUI->SetCheck( m_Scintilla.GetViewEOL() ); - if( m_Scintilla.GetViewEOL() ) - { - pCmdUI->SetText( "Hide EOL" ); - } - else - { - pCmdUI->SetText( "Show EOL" ); - } } - void CAnyEditView::OnDestroy() { --- 1623,1628 ---- |