From fd6887405280b0823a20e0d807641e59f4ec2d00 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Fri, 3 Dec 2004 21:51:07 +0000 Subject: [PATCH] 2004-12-03 Alain Magloire Implement comment blocks(Code take from JDT Editor) * src/org/eclipse/cdt/internal/ui/action/AddBlockCommentAction.java * src/org/eclipse/cdt/internal/ui/action/BlockCommentAction.java * src/org/eclipse/cdt/internal/ui/action/RemoveBlockCommentAction.java * src/org/eclipse/cdt/internal/ui/editor/CEditor.java * src/org/eclipse/cdt/internal/ui/editor/CEditorMessages.properties * src/org/eclipse/cdt/internal/ui/editor/ICEditorActionDefinitionIds.java * src/org/eclipse/cdt/internal/ui/text/ CPartitionScanner.java * src/org/eclipse/cdt/internal/ui/text/CTextTools.java * src/org/eclipse/cdt/internal/ui/text/FastCPartitionScanner.java * src/org/eclipse/cdt/internal/ui/text/ICPartitions.java * plugin.xml --- core/org.eclipse.cdt.ui/plugin.properties | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/org.eclipse.cdt.ui/plugin.properties b/core/org.eclipse.cdt.ui/plugin.properties index ab9a5c71ec4..69963b245f5 100644 --- a/core/org.eclipse.cdt.ui/plugin.properties +++ b/core/org.eclipse.cdt.ui/plugin.properties @@ -23,6 +23,10 @@ perspective.name=C/C++ viewsCategory.name=&C CView.name=C/C++ Projects +AddBlockCommentAction.label= Add &Block Comment + +RemoveBlockCommentAction.label= Remove Bloc&k Comment + # The Wizards # C newCWizardsCategory.name=C @@ -89,6 +93,12 @@ ActionDefinition.finddecl.description= Find Declaration ActionDefinition.findrefs.name= Find References ActionDefinition.findrefs.description= Find References +ActionDefinition.addBlockComment.name= Add Block Comment +ActionDefinition.addBlockComment.description= Enclose the selection with a block comment + +ActionDefinition.removeBlockComment.name= Remove Block Comment +ActionDefinition.removeBlockComment.description= Remove the block comment enclosing the selection + ActionDefinition.format.name=Format ActionDefinition.format.description=Format Source Code