Command used:
# Remove space at eol in comments
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} +
# Remove space at eol in blank lines
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} +
# Replace escaped spaces at eol with unicode
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} +
# Replace unescaped spaces at eol with unicode
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} +
# Replace escaped tabs at eol with unicode
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} +
# Replace unescaped tabs at eol with unicode
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} +
# Stage all changes
git add -A .
# trim any remaining whitespace and then identify and fixup
# manually
# Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties
# needed this due to missing newline at end of the file
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} +
Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
Fix for 77874.
In order to fix this we removed all of the Eclipse-1.0 classes
that we copied in the CDT.
The good news is that it is now part of Eclipse-3.x platform and we no
need to carry the duplicate.
The templates support was rewritten to use the JFace templates support
classes.
* src/org/eclipse/cdt/internal/corext/template/*: remove to use
JFace Templates support.
* src/org/eclipse/cdt/internal/corext/template/c/*: rewritten to use
JFace Templates classes.
* src/org/eclipse/cdt/intenal/corext/texmanipulation/*: remove to use
JFace TextEdit support
* src/org/eclipse/cdt/internal/ui/preferences/CTemplatePreferencePage.java:
Rewritten to take advantage of JFace support for Templates.
* src/org/eclipse/cdt/internal/ui/text/link/*: Remove use JFace
* src/org/eclipse/cdt/internal/ui/text/template/*: Remove use JFace templates
* plugin.xml
* plugin.properties
* template/default-templates.xml