I'm trying to force everything between my PropertyRule and the EndAssignment (within that rule) to be on a single line.
I tried using .range() to do that but it is not working as I would expect.
Instead I am having to select each component of the rule and configure line wrapping accordingly, including things that start new blocks and indent like {} (via BeginAssignment/EndAssignment).
Is my guess undertsanding of range wrong?
And I need to do this the long way?
// c.setNoLinewrap().range(grammar.getPropertyRule(), grammar.getPropertyAccess().getEndAssignment_5());
c.setNoLinewrap().before(grammar.getPropertyAccess().getBeginAssignment_2());
c.setNoLinewrap().after(grammar.getPropertyAccess().getBeginAssignment_2());
c.setNoLinewrap().before(grammar.getEditRule());
c.setNoLinewrap().after(grammar.getEditRule());
c.setNoLinewrap().before(grammar.getPropertyAccess().getOptionsPropertyOptionParserRuleCall_4_0());
c.setNoLinewrap().after(grammar.getPropertyAccess().getOptionsPropertyOptionParserRuleCall_4_0());
c.setNoLinewrap().before(grammar.getDisplayAccess().getBeginAssignment_1());
c.setNoLinewrap().after(grammar.getDisplayAccess().getBeginAssignment_1());
c.setNoLinewrap().before(grammar.getDisplayAccess().getEndAssignment_6());
c.setNoLinewrap().before(grammar.getPropertyAccess().getEndAssignment_5());