* 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:
parent
0103776770
commit
20631cef4c
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user