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) WrapsString
content 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
, cannotnull
defaultPosition
- externally calculated offset to be used as default, cannot be negativedata
-IBslModuleEventData
wrapped event owner and arbitrary data instance, can benull
- Returns:
IBslModuleTextInsertInfo
, cannot benull
-
wrap
WrapsString
content with data based onIBslModuleTextInsertInfo
- Parameters:
moduleTextInsertInfo
-IBslModuleTextInsertInfo
, cannot benull
content
-String
to wrap, can benull
- Returns:
- wrapped content
String
, cannot benull
-