vscode-html-languageservice
Advanced tools
Comparing version 2.1.11-next.3 to 2.1.11-next.4
@@ -20,2 +20,3 @@ import { TextDocument, Position, CompletionList, Hover, Range, SymbolInformation, TextEdit, DocumentHighlight, DocumentLink, FoldingRange } from 'vscode-languageserver-types'; | ||
}): FoldingRange[]; | ||
getSelectionRanges(document: TextDocument, position: Position): Range[]; | ||
} | ||
@@ -22,0 +23,0 @@ export interface LanguageServiceOptions { |
@@ -16,2 +16,3 @@ /*--------------------------------------------------------------------------------------------- | ||
import { handleCustomData } from './languageFacts'; | ||
import { getSelectionRanges } from './services/htmlSelectionRange'; | ||
export * from './htmlLanguageTypes'; | ||
@@ -35,2 +36,3 @@ export * from 'vscode-languageserver-types'; | ||
getFoldingRanges: getFoldingRanges, | ||
getSelectionRanges: getSelectionRanges, | ||
doTagComplete: htmlCompletion.doTagComplete.bind(htmlCompletion), | ||
@@ -37,0 +39,0 @@ }; |
@@ -25,2 +25,3 @@ import { TextDocument, Position, Range } from 'vscode-languageserver-types'; | ||
start: number; | ||
startTagEnd: number | undefined; | ||
end: number; | ||
@@ -27,0 +28,0 @@ endTagStart: number | undefined; |
@@ -86,2 +86,3 @@ /*--------------------------------------------------------------------------------------------- | ||
curr.end = scanner.getTokenEnd(); // might be later set to end tag position | ||
curr.startTagEnd = scanner.getTokenEnd(); | ||
if (curr.tag && isEmptyElement(curr.tag) && curr.parent) { | ||
@@ -96,2 +97,3 @@ curr.closed = true; | ||
curr.end = scanner.getTokenEnd(); | ||
curr.startTagEnd = scanner.getTokenEnd(); | ||
curr = curr.parent; | ||
@@ -98,0 +100,0 @@ } |
@@ -20,2 +20,3 @@ import { TextDocument, Position, CompletionList, Hover, Range, SymbolInformation, TextEdit, DocumentHighlight, DocumentLink, FoldingRange } from 'vscode-languageserver-types'; | ||
}): FoldingRange[]; | ||
getSelectionRanges(document: TextDocument, position: Position): Range[]; | ||
} | ||
@@ -22,0 +23,0 @@ export interface LanguageServiceOptions { |
@@ -7,3 +7,3 @@ (function (factory) { | ||
else if (typeof define === "function" && define.amd) { | ||
define(["require", "exports", "./parser/htmlScanner", "./parser/htmlParser", "./services/htmlCompletion", "./services/htmlHover", "./services/htmlFormatter", "./services/htmlLinks", "./services/htmlHighlighting", "./services/htmlSymbolsProvider", "./services/htmlFolding", "./languageFacts", "./htmlLanguageTypes", "vscode-languageserver-types"], factory); | ||
define(["require", "exports", "./parser/htmlScanner", "./parser/htmlParser", "./services/htmlCompletion", "./services/htmlHover", "./services/htmlFormatter", "./services/htmlLinks", "./services/htmlHighlighting", "./services/htmlSymbolsProvider", "./services/htmlFolding", "./languageFacts", "./services/htmlSelectionRange", "./htmlLanguageTypes", "vscode-languageserver-types"], factory); | ||
} | ||
@@ -30,2 +30,3 @@ })(function (require, exports) { | ||
var languageFacts_1 = require("./languageFacts"); | ||
var htmlSelectionRange_1 = require("./services/htmlSelectionRange"); | ||
__export(require("./htmlLanguageTypes")); | ||
@@ -49,2 +50,3 @@ __export(require("vscode-languageserver-types")); | ||
getFoldingRanges: htmlFolding_1.getFoldingRanges, | ||
getSelectionRanges: htmlSelectionRange_1.getSelectionRanges, | ||
doTagComplete: htmlCompletion.doTagComplete.bind(htmlCompletion), | ||
@@ -51,0 +53,0 @@ }; |
@@ -25,2 +25,3 @@ import { TextDocument, Position, Range } from 'vscode-languageserver-types'; | ||
start: number; | ||
startTagEnd: number | undefined; | ||
end: number; | ||
@@ -27,0 +28,0 @@ endTagStart: number | undefined; |
@@ -96,2 +96,3 @@ (function (factory) { | ||
curr.end = scanner.getTokenEnd(); // might be later set to end tag position | ||
curr.startTagEnd = scanner.getTokenEnd(); | ||
if (curr.tag && languageFacts_1.isEmptyElement(curr.tag) && curr.parent) { | ||
@@ -106,2 +107,3 @@ curr.closed = true; | ||
curr.end = scanner.getTokenEnd(); | ||
curr.startTagEnd = scanner.getTokenEnd(); | ||
curr = curr.parent; | ||
@@ -108,0 +110,0 @@ } |
{ | ||
"name": "vscode-html-languageservice", | ||
"version": "2.1.11-next.3", | ||
"version": "2.1.11-next.4", | ||
"description": "Language service for HTML", | ||
@@ -5,0 +5,0 @@ "main": "./lib/umd/htmlLanguageService.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
748642
65
19361