Lines Matching refs:position

486     function insert(position, newText) {  argument
487 return { range: { start: position, end: position }, newText: newText };
612 TextEditChangeImpl.prototype.insert = function (position, newText) { argument
613 this.edits.push(TextEdit.insert(position, newText));
1574 FullTextDocument.prototype.offsetAt = function (position) { argument
1576 if (position.line >= lineOffsets.length) {
1579 else if (position.line < 0) {
1582 var lineOffset = lineOffsets[position.line];
1583 …var nextLineOffset = (position.line + 1 < lineOffsets.length) ? lineOffsets[position.line + 1] : t…
1584 return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);
28201 this.position = 0;
28204 if (to === void 0) { to = this.position; }
28208 return this.len <= this.position;
28211 return this.position;
28214 this.position = pos;
28217 this.position -= n;
28220 this.position += n;
28223 return this.source.charCodeAt(this.position++) || 0;
28227 return this.source.charCodeAt(this.position + n) || 0;
28231 return this.source.charCodeAt(this.position - n) || 0;
28234 if (ch === this.source.charCodeAt(this.position)) {
28235 this.position++;
28241 if (this.position + ch.length > this.source.length) {
28246 if (this.source.charCodeAt(this.position + i) !== ch[i]) {
28254 var posNow = this.position;
28255 while (this.position < this.len && condition(this.source.charCodeAt(this.position))) {
28256 this.position++;
28258 return this.position - posNow;
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);
31130 CSSCompletion.prototype.doComplete = function (document, position, styleSheet) { argument
31131 this.offset = document.offsetAt(position);
31132 this.position = position;
31134 …_MODULE_4__["Position"].create(this.position.line, this.position.character - this.currentWord.leng…
31226 this.position = null;
31549 …var end = existingNode.end !== -1 ? this.textDocument.positionAt(existingNode.end) : this.position;
31605 … for (var position in _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__["positionKeywords"]) {
31607 label: position,
31608 … documentation: _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__["positionKeywords"][position],
31609 …__WEBPACK_IMPORTED_MODULE_4__["TextEdit"].replace(this.getCompletionRange(existingNode), position),
31754 …_MODULE_4__["Position"].create(this.position.line, this.position.character - this.currentWord.leng…
31993 var position;
31998 position = this.position;
32005 position = this.position;
32012 position: position,
32025 position: _this.position,
32388 CSSHover.prototype.doHover = function (document, position, stylesheet) { argument
32392 var offset = document.offsetAt(position);
32592 CSSNavigation.prototype.findDefinition = function (document, position, stylesheet) { argument
32594 var offset = document.offsetAt(position);
32608 CSSNavigation.prototype.findReferences = function (document, position, stylesheet) { argument
32609 var highlights = this.findDocumentHighlights(document, position, stylesheet);
32617 CSSNavigation.prototype.findDocumentHighlights = function (document, position, stylesheet) { argument
32619 var offset = document.offsetAt(position);
32829 CSSNavigation.prototype.doRename = function (document, position, newName, stylesheet) { argument
32831 var highlights = this.findDocumentHighlights(document, position, stylesheet);
32982 function getSelectionRange(position) { argument
32983 var applicableRanges = getApplicableRanges(position);
32989 …ge"].create(_cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_0__["Range"].create(position, position));
32994 function getApplicableRanges(position) { argument
32995 var offset = document.offsetAt(position);
34472 …n [4 /*yield*/, this.providePathSuggestions(uriValue, literalCompletion.position, literalCompletio…
34494 …n [4 /*yield*/, this.providePathSuggestions(pathValue, importCompletion.position, importCompletion…
34522 …PathCompletionParticipant.prototype.providePathSuggestions = function (pathValue, position, range,… argument
34531 ? fullValue.slice(0, position.character - (range.start.character + 1))
34532 : fullValue.slice(0, position.character - range.start.character);
36137 FullTextDocument.prototype.offsetAt = function (position) { argument
36139 if (position.line >= lineOffsets.length) {
36142 else if (position.line < 0) {
36145 var lineOffset = lineOffsets[position.line];
36146 …var nextLineOffset = (position.line + 1 < lineOffsets.length) ? lineOffsets[position.line + 1] : t…
36147 return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset);
37216 function fromPosition(position) { argument
37217 if (!position) {
37220 return { character: position.column - 1, line: position.lineNumber - 1 };
37306 … CompletionAdapter.prototype.provideCompletionItems = function (model, position, context, token) { argument
37310 return worker.doComplete(resource.toString(), fromPosition(position));
37316 var wordInfo = model.getWordUntilPosition(position);
37317 …itor_core_js__WEBPACK_IMPORTED_MODULE_1__["Range"](position.lineNumber, wordInfo.startColumn, posi…
37393 HoverAdapter.prototype.provideHover = function (model, position, token) { argument
37397 return worker.doHover(resource.toString(), fromPosition(position));
37428 … DocumentHighlightAdapter.prototype.provideDocumentHighlights = function (model, position, token) { argument
37432 return worker.findDocumentHighlights(resource.toString(), fromPosition(position));
37460 DefinitionAdapter.prototype.provideDefinition = function (model, position, token) { argument
37464 return worker.findDefinition(resource.toString(), fromPosition(position));
37481 ReferenceAdapter.prototype.provideReferences = function (model, position, context, token) { argument
37485 return worker.findReferences(resource.toString(), fromPosition(position));
37525 RenameAdapter.prototype.provideRenameEdits = function (model, position, newName, token) { argument
37529 return worker.doRename(resource.toString(), fromPosition(position), newName);