Package jetbrains.mps.text
Interface TextAreaFactory
- 
- All Known Implementing Classes:
 BasicTextAreaFactory
public interface TextAreaFactoryFactory forTextArea, tracks parameters of text chunks essential to process them, but that we don't want to expose inTextAreainterface.- Since:
 - 3.3
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextAreacreate()StringgetLineSeparator()CharSequencevalue(TextArea area) 
 - 
 
- 
- 
Method Detail
- 
getLineSeparator
@NotNull String getLineSeparator()
Although this might be attribute ofTextAreaitself, I'd like to keepTextAreainterface focused on append/indent operations only.- Returns:
 - line separator 
TextAreainstances coming from this factory use. 
 
- 
value
@NotNull CharSequence value(@NotNull TextArea area)
- Parameters:
 area- instance earlier obtained fromcreate().- Returns:
 - present textual content of the text chunk.
 
 
 - 
 
 -