Package com._1c.g5.v8.dt.bsl.common
Interface IBslModuleTextInsertInfoService
public interface IBslModuleTextInsertInfoService
Service for module text insertion information gathering and content wrapping operations
-
Method Summary
Modifier and TypeMethodDescriptiongetEventHandlerTextInsertInfo(org.eclipse.xtext.ui.editor.model.IXtextDocument document, int defaultPosition, IBslModuleEventData data) Returns BSL module text insertion informationwrap(IBslModuleTextInsertInfo moduleTextInsertInfo, String content) WrapsStringcontent with data based onIBslModuleTextInsertInfo
-
Method Details
-
getEventHandlerTextInsertInfo
IBslModuleTextInsertInfo getEventHandlerTextInsertInfo(org.eclipse.xtext.ui.editor.model.IXtextDocument document, int defaultPosition, IBslModuleEventData data) Returns BSL module text insertion information- Parameters:
document- actualIXtextDocument, cannotnulldefaultPosition- externally calculated offset to be used as default, cannot be negativedata-IBslModuleEventDatawrapped event owner and arbitrary data instance, can benull- Returns:
IBslModuleTextInsertInfo, cannot benull
-
wrap
WrapsStringcontent with data based onIBslModuleTextInsertInfo- Parameters:
moduleTextInsertInfo-IBslModuleTextInsertInfo, cannot benullcontent-Stringto wrap, can benull- Returns:
- wrapped content
String, cannot benull
-