summaryrefslogtreecommitdiff
path: root/graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/selectionRange.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/selectionRange.h')
-rw-r--r--graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/selectionRange.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/selectionRange.h b/graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/selectionRange.h
index 47590e4152..91915275bd 100644
--- a/graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/selectionRange.h
+++ b/graphics/asymptote/LspCpp/include/LibLsp/lsp/textDocument/selectionRange.h
@@ -8,35 +8,35 @@
#include "LibLsp/lsp/lsTextDocumentIdentifier.h"
struct SelectionRangeParams {
- /**
- * The text document.
- */
+ /**
+ * The text document.
+ */
- lsTextDocumentIdentifier textDocument;
+ lsTextDocumentIdentifier textDocument;
- /**
- * The positions inside the text document.
- */
+ /**
+ * The positions inside the text document.
+ */
+
+ std::vector<lsPosition> positions;
+
+ MAKE_SWAP_METHOD(SelectionRangeParams, textDocument, positions)
- std::vector<lsPosition> positions;
-
- MAKE_SWAP_METHOD(SelectionRangeParams, textDocument, positions)
-
};
MAKE_REFLECT_STRUCT(SelectionRangeParams, textDocument, positions)
struct SelectionRange {
- /**
- * The [range](#Range) of this selection range.
- */
+ /**
+ * The [range](#Range) of this selection range.
+ */
- lsRange range;
+ lsRange range;
- /**
- * The parent selection range containing this range. Therefore `parent.range` must contain `this.range`.
- */
- boost::optional<SelectionRange*> parent;
- MAKE_SWAP_METHOD(SelectionRange, range, parent)
+ /**
+ * The parent selection range containing this range. Therefore `parent.range` must contain `this.range`.
+ */
+ boost::optional<SelectionRange*> parent;
+ MAKE_SWAP_METHOD(SelectionRange, range, parent)
};
extern void Reflect(Reader& visitor, boost::optional<SelectionRange*>& value);