mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
![]() 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> |
||
---|---|---|
.. | ||
.settings | ||
emf-gen/org/eclipse/xtext | ||
generator | ||
lib | ||
META-INF | ||
src | ||
src-gen/org/eclipse/xtext | ||
suites/org/eclipse/xtext | ||
testdata/wizard-expectations | ||
xtend-gen/org/eclipse/xtext | ||
.classpath | ||
.gitignore | ||
.project | ||
about.html | ||
build.gradle | ||
build.properties | ||
GenerateAllTestLanguages.mwe2.launch | ||
plugin.properties | ||
plugin.xml | ||
plugin.xml_gen | ||
xtext.tests (xtend).launch | ||
xtext.tests.launch |