Package com._1c.g5.v8.dt.bsl.ui.autoedit
Class BslStringLiteralInsertNewLineEditStrategy
- java.lang.Object
-
- org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategy
-
- com._1c.g5.v8.dt.bsl.ui.autoedit.BslStringLiteralInsertNewLineEditStrategy
-
- All Implemented Interfaces:
EventListener,org.eclipse.jface.text.IAutoEditStrategy,org.eclipse.swt.custom.VerifyKeyListener,org.eclipse.swt.internal.SWTEventListener
public class BslStringLiteralInsertNewLineEditStrategy extends org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyThis strategy adds to string literal content after inserting new line:
- indentation
- symbol '|'
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBslStringLiteralInsertNewLineEditStrategy.FactorySpecial factory for creatingBslStringLiteralInsertNewLineEditStrategy
-
Field Summary
Fields Modifier and Type Field Description protected com.google.inject.Provider<org.eclipse.jface.text.DefaultIndentLineAutoEditStrategy>defaultIndentLineAutoEditStrategy
-
Constructor Summary
Constructors Constructor Description BslStringLiteralInsertNewLineEditStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcustomizeDocumentCommand(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command)protected voidinternalCustomizeDocumentCommand(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command)
-
-
-
Method Detail
-
internalCustomizeDocumentCommand
protected void internalCustomizeDocumentCommand(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command) throws org.eclipse.jface.text.BadLocationException- Specified by:
internalCustomizeDocumentCommandin classorg.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategy- Throws:
org.eclipse.jface.text.BadLocationException
-
customizeDocumentCommand
public void customizeDocumentCommand(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command)- Specified by:
customizeDocumentCommandin interfaceorg.eclipse.jface.text.IAutoEditStrategy- Overrides:
customizeDocumentCommandin classorg.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategy
-
-