Home
last modified time | relevance | path

Searched refs:TextEdit (Results 1 – 25 of 39) sorted by relevance

12

/external/google-java-format/eclipse_plugin/src/com/google/googlejavaformat/java/
DGoogleJavaFormatter.java28 import org.eclipse.text.edits.TextEdit;
36 public TextEdit format( in format()
43 public TextEdit format( in format()
63 private TextEdit formatInternal(int kind, String source, IRegion[] regions, int initialIndent) { in formatInternal()
131 private TextEdit editFromReplacements(List<Replacement> replacements) { in editFromReplacements()
133 TextEdit edit = new MultiTextEdit(); in editFromReplacements()
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.h143 TextEdit replacementToEdit(StringRef Code, const tooling::Replacement &R);
145 std::vector<TextEdit> replacementsToEdits(StringRef Code,
148 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M,
193 std::vector<TextEdit> asTextEdits() const;
DCodeComplete.h212 llvm::Optional<TextEdit> Insertion;
222 std::vector<TextEdit> FixIts;
DClangdLSPServer.h98 Callback<std::vector<TextEdit>>);
100 Callback<std::vector<TextEdit>>);
102 Callback<std::vector<TextEdit>>);
DProtocol.h222 struct TextEdit { struct
231 inline bool operator==(const TextEdit &L, const TextEdit &R) { argument
234 bool fromJSON(const llvm::json::Value &, TextEdit &, llvm::json::Path);
235 llvm::json::Value toJSON(const TextEdit &);
236 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const TextEdit &);
896 llvm::Optional<std::map<std::string, std::vector<TextEdit>>> changes;
1188 llvm::Optional<TextEdit> textEdit;
1193 std::vector<TextEdit> additionalTextEdits;
DHeaders.cpp258 llvm::Optional<TextEdit>
260 llvm::Optional<TextEdit> Edit = None; in insert()
DSourceCode.cpp491 TextEdit replacementToEdit(llvm::StringRef Code, in replacementToEdit()
499 std::vector<TextEdit> replacementsToEdits(llvm::StringRef Code, in replacementsToEdits()
501 std::vector<TextEdit> Edits; in replacementsToEdits()
546 TextEdit toTextEdit(const FixItHint &FixIt, const SourceManager &M, in toTextEdit()
548 TextEdit Result; in toTextEdit()
995 std::vector<TextEdit> Edit::asTextEdits() const { in asTextEdits()
DDiagnostics.h78 llvm::SmallVector<TextEdit, 1> Edits;
DHeaders.h191 llvm::Optional<TextEdit> insert(llvm::StringRef VerbatimHeader) const;
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/
Dlangsvr.go219 …WillSaveWaitUntil(ctx context.Context, p *lsp.WillSaveTextDocumentParams) ([]lsp.TextEdit, error) {
359 func (s *server) Formatting(ctx context.Context, p *lsp.DocumentFormattingParams) ([]lsp.TextEdit, …
413 return []lsp.TextEdit{
414 lsp.TextEdit{
422 …angeFormatting(ctx context.Context, p *lsp.DocumentRangeFormattingParams) ([]lsp.TextEdit, error) {
426 …ypeFormatting(ctx context.Context, p *lsp.DocumentOnTypeFormattingParams) ([]lsp.TextEdit, error) {
436 changes := make([]lsp.TextEdit, len(id.References))
441 m := map[string][]lsp.TextEdit{}
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/
Dlangsvr.go219 …WillSaveWaitUntil(ctx context.Context, p *lsp.WillSaveTextDocumentParams) ([]lsp.TextEdit, error) {
359 func (s *server) Formatting(ctx context.Context, p *lsp.DocumentFormattingParams) ([]lsp.TextEdit, …
413 return []lsp.TextEdit{
414 lsp.TextEdit{
422 …angeFormatting(ctx context.Context, p *lsp.DocumentRangeFormattingParams) ([]lsp.TextEdit, error) {
426 …ypeFormatting(ctx context.Context, p *lsp.DocumentOnTypeFormattingParams) ([]lsp.TextEdit, error) {
436 changes := make([]lsp.TextEdit, len(id.References))
441 m := map[string][]lsp.TextEdit{}
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dtsserver.go48 WillSaveWaitUntil(context.Context, *WillSaveTextDocumentParams) ([]TextEdit, error)
63 Formatting(context.Context, *DocumentFormattingParams) ([]TextEdit, error)
64 RangeFormatting(context.Context, *DocumentRangeFormattingParams) ([]TextEdit, error)
65 OnTypeFormatting(context.Context, *DocumentOnTypeFormattingParams) ([]TextEdit, error)
663 …r) WillSaveWaitUntil(ctx context.Context, params *WillSaveTextDocumentParams) ([]TextEdit, error) {
664 var result []TextEdit
783 …Dispatcher) Formatting(ctx context.Context, params *DocumentFormattingParams) ([]TextEdit, error) {
784 var result []TextEdit
791 …) RangeFormatting(ctx context.Context, params *DocumentRangeFormattingParams) ([]TextEdit, error) {
792 var result []TextEdit
[all …]
Dtsprotocol.go2909 TextEdit *TextEdit `json:"textEdit,omitempty"` member
2915 AdditionalTextEdits []TextEdit `json:"additionalTextEdits,omitempty"`
3010 type TextEdit struct { struct
3038 Edits []TextEdit `json:"edits"`
3174 Changes *map[string][]TextEdit `json:"changes,omitempty"` // [uri: string]: TextEdit[];
3383 TextEdit *TextEdit `json:"textEdit,omitempty"` member
3394 AdditionalTextEdits []TextEdit `json:"additionalTextEdits,omitempty"`
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/protocol/
Dtsserver.go48 WillSaveWaitUntil(context.Context, *WillSaveTextDocumentParams) ([]TextEdit, error)
63 Formatting(context.Context, *DocumentFormattingParams) ([]TextEdit, error)
64 RangeFormatting(context.Context, *DocumentRangeFormattingParams) ([]TextEdit, error)
65 OnTypeFormatting(context.Context, *DocumentOnTypeFormattingParams) ([]TextEdit, error)
663 …r) WillSaveWaitUntil(ctx context.Context, params *WillSaveTextDocumentParams) ([]TextEdit, error) {
664 var result []TextEdit
783 …Dispatcher) Formatting(ctx context.Context, params *DocumentFormattingParams) ([]TextEdit, error) {
784 var result []TextEdit
791 …) RangeFormatting(ctx context.Context, params *DocumentRangeFormattingParams) ([]TextEdit, error) {
792 var result []TextEdit
[all …]
Dtsprotocol.go2909 TextEdit *TextEdit `json:"textEdit,omitempty"` member
2915 AdditionalTextEdits []TextEdit `json:"additionalTextEdits,omitempty"`
3010 type TextEdit struct { struct
3038 Edits []TextEdit `json:"edits"`
3174 Changes *map[string][]TextEdit `json:"changes,omitempty"` // [uri: string]: TextEdit[];
3383 TextEdit *TextEdit `json:"textEdit,omitempty"` member
3394 AdditionalTextEdits []TextEdit `json:"additionalTextEdits,omitempty"`
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dtsserver.go48 WillSaveWaitUntil(context.Context, *WillSaveTextDocumentParams) ([]TextEdit, error)
63 Formatting(context.Context, *DocumentFormattingParams) ([]TextEdit, error)
64 RangeFormatting(context.Context, *DocumentRangeFormattingParams) ([]TextEdit, error)
65 OnTypeFormatting(context.Context, *DocumentOnTypeFormattingParams) ([]TextEdit, error)
663 …r) WillSaveWaitUntil(ctx context.Context, params *WillSaveTextDocumentParams) ([]TextEdit, error) {
664 var result []TextEdit
783 …Dispatcher) Formatting(ctx context.Context, params *DocumentFormattingParams) ([]TextEdit, error) {
784 var result []TextEdit
791 …) RangeFormatting(ctx context.Context, params *DocumentRangeFormattingParams) ([]TextEdit, error) {
792 var result []TextEdit
[all …]
Dtsprotocol.go2909 TextEdit *TextEdit `json:"textEdit,omitempty"` member
2915 AdditionalTextEdits []TextEdit `json:"additionalTextEdits,omitempty"`
3010 type TextEdit struct { struct
3038 Edits []TextEdit `json:"edits"`
3174 Changes *map[string][]TextEdit `json:"changes,omitempty"` // [uri: string]: TextEdit[];
3383 TextEdit *TextEdit `json:"textEdit,omitempty"` member
3394 AdditionalTextEdits []TextEdit `json:"additionalTextEdits,omitempty"`
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/
Dlangsvr.go224 …WillSaveWaitUntil(ctx context.Context, p *lsp.WillSaveTextDocumentParams) ([]lsp.TextEdit, error) {
364 func (s *server) Formatting(ctx context.Context, p *lsp.DocumentFormattingParams) ([]lsp.TextEdit, …
420 return []lsp.TextEdit{
429 …angeFormatting(ctx context.Context, p *lsp.DocumentRangeFormattingParams) ([]lsp.TextEdit, error) {
433 …ypeFormatting(ctx context.Context, p *lsp.DocumentOnTypeFormattingParams) ([]lsp.TextEdit, error) {
443 changes := make([]lsp.TextEdit, len(id.References))
448 m := map[string][]lsp.TextEdit{}
/external/python/cpython2/Doc/library/
Dcarbon.rst544 :mod:`Carbon.TE` --- TextEdit
549 :synopsis: Interface to TextEdit.
552 :mod:`Carbon.TextEdit` --- TextEdit constants
555 .. module:: Carbon.TextEdit
557 :synopsis: Constants for the interface to TextEdit.
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/
DMain.java33 import org.eclipse.text.edits.TextEdit;
292 TextEdit textEdit = rewrite.rewriteAST(document, options); in applyRewrite()
293 textEdit.apply(document, TextEdit.UPDATE_REGIONS); in applyRewrite()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_textedit.cpp40 XFA_Element::TextEdit, in CXFA_TextEdit()
Dcxfa_ui.cpp26 {XFA_Element::TextEdit, 1, XFA_PROPERTYFLAG_OneOf},
Delement_attributes.inc378 ELEM_ATTR____(TextEdit, VScrollPolicy, CJX_Object::ScriptAttributeString)
379 ELEM_ATTR____(TextEdit, AllowRichText, CJX_Object::ScriptAttributeString)
380 ELEM_ATTR____(TextEdit, MultiLine, CJX_Object::ScriptAttributeString)
381 ELEM_ATTR____(TextEdit, HScrollPolicy, CJX_Object::ScriptAttributeString)
/external/llvm-project/clang-tools-extra/clangd/test/
Dexecute-command.test58 # No mapping node for TextEdit
61 # TextEdit not decoded
/external/python/cpython2/Lib/plat-mac/Carbon/
DDragconst.py4 from Carbon.TextEdit import *

12