Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Indentation around formatting
Indentation around formatting [message #1034603] Fri, 05 April 2013 16:44
Ed Willink is currently offline Ed WillinkFriend
Messages: 6568
Registered: July 2009
Senior Member
Hi

Has a solution been found for the indentation around problem?

e.g. given a rule

Rule: Heading Body;

How can I configure formatting to indent the body as in

heading
body

Current the options for setIndentation are basically
set-indentation-between, but there is no trailing terminal for the
between. Using a dummy WS? or getRule() successfully indents the body,
but also indents everything that follows so a succession of Rules slant
their way across the page.

A set-indentation-around capability would make it easy.

Regards

Ed Willink
Previous Topic:Getting all instances of particular grammar class
Next Topic:How to imply a value for a field via the grammar
Goto Forum:
  


Current Time: Sun Jan 26 06:35:41 GMT 2020

Powered by FUDForum. Page generated in 0.03664 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top