From f6d76dc15dc200cb00fdb193f9f8f7739924dbb1 Mon Sep 17 00:00:00 2001
From: Anton Leherbauer <anton.leherbauer@windriver.com>
Date: Fri, 26 Jan 2007 14:48:19 +0000
Subject: [PATCH] Enable completion in preprocessor partitions

---
 core/org.eclipse.cdt.ui/plugin.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/org.eclipse.cdt.ui/plugin.xml b/core/org.eclipse.cdt.ui/plugin.xml
index 8ec24ee3628..28ee3dc819d 100644
--- a/core/org.eclipse.cdt.ui/plugin.xml
+++ b/core/org.eclipse.cdt.ui/plugin.xml
@@ -1488,6 +1488,7 @@
             class="org.eclipse.cdt.internal.ui.text.contentassist.LegacyCompletionProposalComputer"
             categoryId="org.eclipse.cdt.ui.parserProposalCategory">
             <partition type="__dftl_partition_content_type"/>
+            <partition type="__c_preprocessor"/>
         </completionProposalComputer>
     </extension>
     <!-- template proposals -->
@@ -1511,6 +1512,7 @@
             <partition type="__c_singleline_comment"/>
             <partition type="__c_multiline_comment"/>
             <partition type="__c_string"/>
+            <partition type="__c_preprocessor"/>
         </completionProposalComputer>
     </extension>