* Applied patch by negusnyul that adds a few more keyboard shortcuts as part

of ticket #4689.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39583 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-11-23 16:41:16 +00:00
parent 0103776770
commit 20631cef4c

View File

@ -1144,15 +1144,21 @@ StyledEditWindow::_InitWindow(uint32 encoding)
subMenu->AddItem(fAlignLeft = new BMenuItem(B_TRANSLATE("Left"),
new BMessage(ALIGN_LEFT)));
fAlignLeft->SetMarked(true);
fAlignLeft->SetShortcut('L', B_OPTION_KEY);
subMenu->AddItem(fAlignCenter = new BMenuItem(B_TRANSLATE("Center"),
new BMessage(ALIGN_CENTER)));
fAlignCenter->SetShortcut('C', B_OPTION_KEY);
subMenu->AddItem(fAlignRight = new BMenuItem(B_TRANSLATE("Right"),
new BMessage(ALIGN_RIGHT)));
fAlignRight->SetShortcut('R', B_OPTION_KEY);
menu->AddItem(subMenu);
menu->AddItem(fWrapItem = new BMenuItem(B_TRANSLATE("Wrap lines"),
new BMessage(WRAP_LINES)));
fWrapItem->SetMarked(true);
fWrapItem->SetShortcut('W', B_OPTION_KEY);
menu->AddSeparatorItem();
menu->AddItem(menuItem = new BMenuItem(