1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/core/org.eclipse.cdt.ui
Jonah Graham fa8a6279d2 Bug 577074: Fix i18n on import/export language settings
Side effect is that the indentation in the transformer now
works properly, so the extra newlines inserted everywhere
can be removed.

This change was done by changing the output to an OutputStream
instead of a Writer so that the XML handler could set the
encoding to match what was in the settings, i.e.:
transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");

The non-translated language IDs are used in preference to the
translated names when importing. The export now puts that ID
(when available) in the output file. The ID is available on
normal user files (C, ASM, C++) and not on object files. The
object files probably don't have languages settings that are
exported, but this code does not exclude them from being exported.

Change-Id: I46de004bb8c6a0ca05210487a5d33390d397c720
2021-11-09 11:01:13 -05:00
..
.settings [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
about_files Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
browser/org/eclipse/cdt Convert new Runnable to lambda. 2019-08-12 17:31:30 +03:00
css Bug 546981: Add #pragma mark to Outline view 2021-07-11 20:13:33 -04:00
dictionaries Bug 406873 - [spell-check] Update the CDT word lists for Kepler 2013-04-30 11:01:29 -07:00
icons Bug 546981: Add #pragma mark to Outline view 2021-07-11 20:13:33 -04:00
META-INF [releng] Require target platform bundles as minimum version 2021-10-25 18:56:15 -04:00
schema Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
src/org/eclipse/cdt Bug 577074: Fix i18n on import/export language settings 2021-11-09 11:01:13 -05:00
templateengine/org/eclipse/cdt/ui Bug 561993 - Remove dependency to com.ibm.icu from CDT UI 2020-04-12 13:34:26 +03:00
templates Bug 540373: Cleanup: Remove trailing whitespace in properties files 2018-11-23 07:52:26 +00:00
utils.ui/org/eclipse/cdt/utils/ui/controls Bug 567822 - [Dark Theme] Several controls using ControlFactory have wrong background (preferences, dialogs) 2020-10-19 23:26:17 -04:00
.classpath Bug 562494: Update BREE to Java 11 2020-08-24 17:50:56 -04:00
.options Bug 45203. Added transitive closing of include maps. 2013-03-30 10:41:59 -07:00
.project
about.html Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
build.properties Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
doxygenTags.csv Bug 397143 - Some new doxygen commands are missing 2012-12-25 01:51:38 -05:00
NEWS
plugin.properties Bug 546981: Add #pragma mark to Outline view 2021-07-11 20:13:33 -04:00
plugin.xml Bug 546981: Add #pragma mark to Outline view 2021-07-11 20:13:33 -04:00