mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Patch form Thomas Fletcher to define
CEditor shortcuts.
This commit is contained in:
parent
985cf56dcc
commit
5ccdce625e
2 changed files with 11 additions and 3 deletions
|
@ -794,4 +794,12 @@ public class CEditor extends TextEditor implements ISelectionChangedListener {
|
|||
protected void setOutlinerContextMenuId(String menuId) {
|
||||
fOutlinerContextMenuId = menuId;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.ui.editors.text.TextEditor#initializeKeyBindingScopes()
|
||||
*/
|
||||
protected void initializeKeyBindingScopes() {
|
||||
setKeyBindingScopes(new String [] { "org.eclipse.cdt.ui.cEditorScope" } );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -110,11 +110,11 @@ RunToLine.error.message1=Unable to process run to line request.
|
|||
|
||||
Comment.label=&Comment
|
||||
Comment.tooltip=Comment the Selected Lines
|
||||
Comment.description=Turn the selected lines into Java comments
|
||||
Comment.description=Turn the selected lines into C // style comments
|
||||
|
||||
Uncomment.label=Uncommen&t
|
||||
Uncomment.tooltip=Uncomment the Selected Java Comment Lines
|
||||
Uncomment.description=Uncomment the selected Java comment lines
|
||||
Uncomment.tooltip=Uncomment the Selected C // comment Lines
|
||||
Uncomment.description=Uncomment the selected C // comment lines
|
||||
|
||||
Format.label=F&ormat
|
||||
Format.tooltip=Format the Selected Text
|
||||
|
|
Loading…
Add table
Reference in a new issue