xtext-core/org.eclipse.xtext.testing
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
META-INF [eclipse/xtext#1414] prepared master for version 2.18.0 2019-03-05 16:47:14 +01:00
src/org/eclipse/xtext/testing [bug#489904] Fix partial formatting on single line 2019-04-05 13:16:22 +02:00
tests/org/eclipse/xtext/testing/tests [#795] Implement Before/AfterEachCallback 2018-07-24 16:12:33 +02:00
xtend-gen/org/eclipse/xtext/testing Merge pull request #1075 from kittaakos/GH-1074 2019-03-15 08:16:23 +01:00
.classpath Make bin/main also the default output directory to avoid buildship confusion 2019-02-10 14:55:03 +01: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 [eclipse/xtext#1249] use bom for version management (#988) 2019-01-11 16:41:50 +01:00