xtext-core/org.eclipse.xtext.tests
cwehrheim 8d835bc5fd [bug#489904] Fix partial formatting on single line
If a DSL file is only partially formatted it is possible that the
ITextReplacement is not fully contained in an allowed ITextRegion but
they overlap.

Modified method 'TextReplacerContext.isInRequestedRange(...)' to not
only check for containment but also for intersection. To check for
intersection a private method
'TextReplacerContext.doIntersect(...)' was added.

Added PartialFormattingTest test case and formatter
described in the bug.

Signed-off-by: Christian Wehrheim <christian.wehrheim@itemis.de>
Also-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-04-05 13:16:22 +02:00
..
.settings Gradle composite 2016-11-28 14:41:08 +01:00
emf-gen/org/eclipse/xtext Added common configuration file mwe2-workflows.gradle for generating Xtext languages from Gradle 2017-01-11 16:56:41 +01:00
generator Moved Ecore support to test languages 2017-08-11 11:58:03 +02:00
lib Moved projects to root of repository 2016-06-14 08:30:25 +02:00
META-INF [eclipse/xtext#1414] prepared master for version 2.18.0 2019-03-05 16:47:14 +01:00
src [bug#489904] Fix partial formatting on single line 2019-04-05 13:16:22 +02:00
src-gen/org/eclipse/xtext Fixed regression in injector provider 2019-04-04 21:50:57 +02:00
suites/org/eclipse/xtext fixed tests 2016-06-17 18:31:25 +02:00
testdata/wizard-expectations Merge pull request #1109 from eclipse/kt_issue1076 2019-04-02 22:12:04 +02:00
xtend-gen/org/eclipse/xtext [bug#489904] Fix partial formatting on single line 2019-04-05 13:16:22 +02:00
.classpath Make bin/main also the default output directory to avoid buildship confusion 2019-02-10 14:55:03 +01:00
.gitignore Migrated workflows to new generator 2016-07-08 15:55:22 +02:00
.project gradleprojectbuilder added by Buildship project import 2017-07-01 23:09:36 +02:00
about.html Moved projects to root of repository 2016-06-14 08:30:25 +02:00
build.gradle [#1066] get rid of org.eclipse.xtext.ecore.EcoreSupport again 2019-03-12 20:15:14 +01:00
build.properties [TextRegionAccess] keep track of containment among EObjectRegions 2017-08-18 11:24:29 +02:00
GenerateAllTestLanguages.mwe2.launch Regenerate test langs 2019-02-05 14:20:02 +01:00
plugin.properties [502879] Streamlined plugin metadata 2016-09-30 17:17:31 +02:00
plugin.xml Added common configuration file mwe2-workflows.gradle for generating Xtext languages from Gradle 2017-01-11 16:56:41 +01:00
plugin.xml_gen Moved projects to root of repository 2016-06-14 08:30:25 +02:00
xtext.tests (xtend).launch [eclipse/xtext#1274] Updated .classpath by Gradle 2019-02-07 17:03:45 +01:00
xtext.tests.launch [eclipse/xtext#1274] Updated .classpath by Gradle 2019-02-07 17:03:45 +01:00