Class BslWrapWithIndentByOffset

    • Constructor Detail

      • BslWrapWithIndentByOffset

        public BslWrapWithIndentByOffset​(int shiftOffset)
        Creates late calculated shoft wrap with this shift offset
        Parameters:
        shiftOffset - The global shift offset to match
    • Method Detail

      • format

        public void format​(org.eclipse.xtext.formatting2.regionaccess.ITextSegment region,
                           org.eclipse.xtext.formatting2.IHiddenRegionFormatting wrapped,
                           org.eclipse.xtext.formatting2.IFormattableDocument document)
        Specified by:
        format in interface org.eclipse.xtext.formatting2.IAutowrapFormatter
      • getShiftOffset

        public int getShiftOffset()
        Returns:
        the value of shiftOffset