Changeset View
Changeset View
Standalone View
Standalone View
addons/rustcompletion/kterustcompletion.h
Context not available. | |||||
34 | } | 34 | } | ||
---|---|---|---|---|---|
35 | 35 | | |||
36 | struct CompletionMatch { | 36 | struct CompletionMatch { | ||
37 | CompletionMatch() : type(KTextEditor::CodeCompletionModel::NoProperty), depth(0), line(-1), col(-1) {} | 37 | CompletionMatch() = default; | ||
38 | QString text; | 38 | QString text; | ||
39 | QIcon icon; | 39 | QIcon icon; | ||
40 | KTextEditor::CodeCompletionModel::CompletionProperty type; | 40 | KTextEditor::CodeCompletionModel::CompletionProperty type{KTextEditor::CodeCompletionModel::NoProperty}; | ||
41 | int depth; | 41 | int depth{0}; | ||
42 | QUrl url; | 42 | QUrl url; | ||
43 | int line; | 43 | int line{-1}; | ||
44 | int col; | 44 | int col{-1}; | ||
45 | }; | 45 | }; | ||
46 | 46 | | |||
47 | class KTERustCompletion : public KTextEditor::CodeCompletionModel, public KTextEditor::CodeCompletionModelControllerInterface | 47 | class KTERustCompletion : public KTextEditor::CodeCompletionModel, public KTextEditor::CodeCompletionModelControllerInterface | ||
Context not available. |