Lines Matching refs:document

1430     function applyEdits(document, edits) {  argument
1431 var text = document.getText();
1442 var startOffset = document.offsetAt(e.range.start);
1443 var endOffset = document.offsetAt(e.range.end);
30931 CSSCodeActions.prototype.doCodeActions = function (document, range, context, stylesheet) { argument
30932 return this.doCodeActions2(document, range, context, stylesheet).map(function (ca) {
30934 …D_MODULE_3__["Command"].create(ca.title, '_css.applyCodeAction', document.uri, document.version, t…
30937 CSSCodeActions.prototype.doCodeActions2 = function (document, range, context, stylesheet) { argument
30942 this.appendFixesForMarker(document, stylesheet, diagnostic, result);
30947 …CSSCodeActions.prototype.getFixesForUnknownProperty = function (document, property, marker, result… argument
30966 …PACK_IMPORTED_MODULE_3__["VersionedTextDocumentIdentifier"].create(document.uri, document.version);
30976 … CSSCodeActions.prototype.appendFixesForMarker = function (document, stylesheet, marker, result) { argument
30980 var offset = document.offsetAt(marker.range.start);
30981 var end = document.offsetAt(marker.range.end);
30988 this.getFixesForUnknownProperty(document, property, marker, result);
31099 … CSSCompletion.prototype.doComplete2 = function (document, position, styleSheet, documentContext) { argument
31106 return [2 /*return*/, this.doComplete(document, position, styleSheet)];
31111 result = this.doComplete(document, position, styleSheet);
31115 … return [4 /*yield*/, participant.computeCompletions(document, documentContext)];
31130 CSSCompletion.prototype.doComplete = function (document, position, styleSheet) { argument
31131 this.offset = document.offsetAt(position);
31133 this.currentWord = getCurrentWord(document, this.offset);
31135 this.textDocument = document;
32129 function getCurrentWord(document, offset) { argument
32131 var text = document.getText();
32166 function getFoldingRanges(document, context) { argument
32167 var ranges = computeFoldingRanges(document);
32170 function computeFoldingRanges(document) { argument
32172 return document.positionAt(t.offset).line;
32175 return document.positionAt(t.offset + t.len).line;
32178 switch (document.languageId) {
32205 scanner.setSource(document.getText());
32262 else if (document.languageId === 'scss' || document.languageId === 'less') {
32388 CSSHover.prototype.doHover = function (document, position, stylesheet) { argument
32390 …eTypes_js__WEBPACK_IMPORTED_MODULE_4__["Range"].create(document.positionAt(node.offset), document.…
32392 var offset = document.offsetAt(position);
32592 CSSNavigation.prototype.findDefinition = function (document, position, stylesheet) { argument
32594 var offset = document.offsetAt(position);
32604 uri: document.uri,
32605 range: getRange(symbol.node, document)
32608 CSSNavigation.prototype.findReferences = function (document, position, stylesheet) { argument
32609 var highlights = this.findDocumentHighlights(document, position, stylesheet);
32612 uri: document.uri,
32617 CSSNavigation.prototype.findDocumentHighlights = function (document, position, stylesheet) { argument
32619 var offset = document.offsetAt(position);
32635 range: getRange(candidate, document)
32644 range: getRange(candidate, document)
32654 CSSNavigation.prototype.findDocumentLinks = function (document, stylesheet, documentContext) { argument
32655 var links = this.findUnresolvedLinks(document, stylesheet);
32659 var resolved = documentContext.resolveReference(target, document.uri);
32667 CSSNavigation.prototype.findDocumentLinks2 = function (document, stylesheet, documentContext) { argument
32673 links = this.findUnresolvedLinks(document, stylesheet);
32682 … return [4 /*yield*/, this.resolveRelativeReference(target, document.uri, documentContext)];
32701 CSSNavigation.prototype.findUnresolvedLinks = function (document, stylesheet) { argument
32706 var range = getRange(uriStringNode, document);
32739 CSSNavigation.prototype.findDocumentSymbols = function (document, stylesheet) { argument
32752 …es_js__WEBPACK_IMPORTED_MODULE_0__["Location"].create(document.uri, getRange(locationNode, documen…
32783 …es_js__WEBPACK_IMPORTED_MODULE_0__["Location"].create(document.uri, getRange(locationNode, documen…
32790 CSSNavigation.prototype.findDocumentColors = function (document, stylesheet) { argument
32793 var colorInfo = getColorInformation(node, document);
32801 CSSNavigation.prototype.getColorPresentations = function (document, stylesheet, color, range) { argument
32829 CSSNavigation.prototype.doRename = function (document, position, newName, stylesheet) { argument
32831 var highlights = this.findDocumentHighlights(document, position, stylesheet);
32834 changes: (_a = {}, _a[document.uri] = edits, _a)
32913 function getColorInformation(node, document) { argument
32916 var range = getRange(node, document);
32921 function getRange(node, document) { argument
32922 …eTypes_js__WEBPACK_IMPORTED_MODULE_0__["Range"].create(document.positionAt(node.offset), document.…
32981 function getSelectionRanges(document, positions, stylesheet) { argument
32986 …js__WEBPACK_IMPORTED_MODULE_0__["Range"].create(document.positionAt(applicableRanges[index][0]), d…
32995 var offset = document.offsetAt(position);
33055 CSSValidation.prototype.doValidation = function (document, stylesheet, settings) { argument
33062 …lint_js__WEBPACK_IMPORTED_MODULE_2__["LintVisitor"].entries(stylesheet, document, new _lintRules_j…
33068 …pes_js__WEBPACK_IMPORTED_MODULE_3__["Range"].create(document.positionAt(marker.getOffset()), docum…
33069 var source = document.languageId;
33545 function LintVisitor(document, settings, cssDataManager) { argument
33550 this.documentText = document.getText();
33565 LintVisitor.entries = function (node, document, settings, cssDataManager, entryFilter) { argument
33566 var visitor = new LintVisitor(document, settings, cssDataManager);
34455 PathCompletionParticipant.prototype.computeCompletions = function (document, documentContext) { argument
34472 …gestions(uriValue, literalCompletion.position, literalCompletion.range, document, documentContext)…
34494 …ggestions(pathValue, importCompletion.position, importCompletion.range, document, documentContext)…
34497 if (document.languageId === 'scss') {
34522 …rototype.providePathSuggestions = function (pathValue, position, range, document, documentContext)… argument
34533 currentDocUri = document.uri;
36191 function update(document, changes, version) { argument
36192 if (document instanceof FullTextDocument) {
36193 document.update(changes, version);
36194 return document;
36201 function applyEdits(document, edits) { argument
36202 var text = document.getText();
36214 var startOffset = document.offsetAt(e.range.start);
36224 lastModifiedOffset = document.offsetAt(e.range.end);