1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Patch for Tanya

This commit is contained in:
Hoda Amer 2004-06-22 18:54:29 +00:00
parent acc1523fa1
commit a2393bddc7
3 changed files with 18 additions and 14 deletions

View file

@ -1,3 +1,12 @@
2004-06-22 Tanya Wolff
Fix for Bug 49883: duplicate mnemonics on editor preferences page.
Also flipped label/checkbox presentation for "bold" so the mnemonic would work.
Removed unneeded keys.
* src/org/eclipse/cdt/internal/ui/preferences/CEditorPreferencePage.java
* src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties
2004-06-22 Bogdan Gheorghe
Fix for 68028: Open Declaration into closed project causes PartInitException

View file

@ -414,14 +414,10 @@ public class CEditorPreferencePage extends PreferencePage implements IWorkbenchP
gd.horizontalAlignment = GridData.BEGINNING;
foregroundColorButton.setLayoutData(gd);
label = new Label(stylesComposite, SWT.LEFT);
label.setText(PreferencesMessages.getString("CEditorPreferencePage.colorPage.bold")); //$NON-NLS-1$
gd = new GridData();
gd.horizontalAlignment = GridData.BEGINNING;
label.setLayoutData(gd);
fBoldCheckBox = new Button(stylesComposite, SWT.CHECK);
fBoldCheckBox.setText(PreferencesMessages.getString("CEditorPreferencePage.colorPage.bold"));
gd = new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalSpan=2;
gd.horizontalAlignment = GridData.BEGINNING;
fBoldCheckBox.setLayoutData(gd);

View file

@ -70,9 +70,8 @@ CEditorPreferencePage.invalid_input=Invalid input.
CEditorPreferencePage.empty_input=Empty input
CEditorPreferencePage.ContentAssistPage.searchGroupTitle=Search scope for completion proposals:
CEditorPreferencePage.ContentAssistPage.searchGroupCurrentFileOption=&Search current file and included files
CEditorPreferencePage.ContentAssistPage.searchGroupCurrentFileOption=S&earch current file and included files
CEditorPreferencePage.ContentAssistPage.searchGroupCurrentProjectOption=Search current &project
CEditorPreferencePage.ContentAssistPage.searchGroupCurrentProjectAndDependenciesOption=Search current project and &dependent projects
CEditorPreferencePage.ContentAssistPage.insertSingleProposalAutomatically=&Insert single proposals automatically
CEditorPreferencePage.ContentAssistPage.showOnlyProposalsWithCorrectVisibility=Show only proposals visible in the invocation conte&xt
CEditorPreferencePage.ContentAssistPage.showProposalsInAlphabeticalOrder=Present proposals in a&lphabetical order
@ -102,15 +101,15 @@ CEditorPreferencePage.colorPage.systemDefault=S&ystem Default
CEditorPreferencePage.colorPage.custom=C&ustom
CEditorPreferencePage.colorPage.foreground=Fo&reground:
CEditorPreferencePage.colorPage.color=C&olor:
CEditorPreferencePage.colorPage.bold=&Bold:
CEditorPreferencePage.colorPage.bold=&Bold
CEditorPreferencePage.colorPage.preview=Preview:
CEditorPreferencePage.behaviorPage.textFont=Text &font:
CEditorPreferencePage.behaviorPage.tabWidth=Displayed &tab width:
CEditorPreferencePage.behaviorPage.marginColumn=Print margin col&umn:
CEditorPreferencePage.behaviorPage.tabSpace=Insert &space for tabs
CEditorPreferencePage.behaviorPage.marginColumn=Print m&argin column:
CEditorPreferencePage.behaviorPage.tabSpace=&Insert space for tabs
CEditorPreferencePage.behaviorPage.matchingBrackets=Highlight &matching brackets
CEditorPreferencePage.behaviorPage.highlightLine=Highlight &current line
CEditorPreferencePage.behaviorPage.printMargin=Show print &margin
CEditorPreferencePage.behaviorPage.highlightLine=&Highlight current line
CEditorPreferencePage.behaviorPage.printMargin=Show &print margin
CEditorPreferencePage.behaviorPage.showLineNumbers=Show &line numbers
CEditorPreferencePage.behaviorPage.showOverviewRuler=Show &overview ruler
CEditorPreferencePage.behaviorPage.appearanceColorOptions=Appearance color options
@ -181,5 +180,5 @@ CEditorPreferencePage.Navigation.CacheTypesInBackground=Cache types in backgroun
#Editor Preferences
CEditorPreferencePage.behaviourPage.EditorGroup=Editor
CEditorPreferencePage.behaviourPage.EnableEditorProblemAnnotation=Enable editor problem annotation
CEditorPreferencePage.behaviourPage.Annotations=Annotations