io.sarl.lang.bugfixes.unpublished
Class BugMultilineCommentIndentation
@javax.inject.Singleton
class BugMultilineCommentIndentation
extends java.lang.Object
FIXME: Xtext upgrade, Fixing a bug in Xtext Formatter2 API that avoid to have a good indentation for the first comment in a block.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
org.eclipse.xtext.formatting2.ITextReplacerContext fix(ITextReplacerContext,IComment)
Fixing the bug.
Constructor Details
new
new
Action Details
fix(ITextReplacerContext,IComment)
def fix(ITextReplacerContext,IComment) : org.eclipse.xtext.formatting2.ITextReplacerContext
Fixing the bug.
Parameters:
context - the replacement context.
comment - the comment for which the fix must be applied.
Returns:
the new context.