@vuedx/vue-virtual-textdocument
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -340,3 +340,3 @@ import { URI } from 'vscode-uri'; | ||
if (start <= offset && offset <= end) { | ||
const mapping = binarySearch(this.originalMappings, ([start, length]) => { | ||
const mapping = binarySearch(this.generatedMappings, ([start, length]) => { | ||
if (start <= offset && offset <= start + length) | ||
@@ -365,3 +365,3 @@ return 0; | ||
if (start <= offset && offset <= end) { | ||
const mapping = binarySearch(this.generatedMappings, ([, , start, length]) => { | ||
const mapping = binarySearch(this.originalMappings, ([, , start, length]) => { | ||
if (start <= offset && offset <= start + length) | ||
@@ -368,0 +368,0 @@ return 0; |
@@ -344,3 +344,3 @@ 'use strict'; | ||
if (start <= offset && offset <= end) { | ||
const mapping = binarySearch(this.originalMappings, ([start, length]) => { | ||
const mapping = binarySearch(this.generatedMappings, ([start, length]) => { | ||
if (start <= offset && offset <= start + length) | ||
@@ -369,3 +369,3 @@ return 0; | ||
if (start <= offset && offset <= end) { | ||
const mapping = binarySearch(this.generatedMappings, ([, , start, length]) => { | ||
const mapping = binarySearch(this.originalMappings, ([, , start, length]) => { | ||
if (start <= offset && offset <= start + length) | ||
@@ -372,0 +372,0 @@ return 0; |
{ | ||
"name": "@vuedx/vue-virtual-textdocument", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "", | ||
@@ -19,4 +19,4 @@ "main": "dist/vue-virtual-textdocument.js", | ||
"@vue/compiler-sfc": "^3.0.0-rc.5", | ||
"@vuedx/analyze": "0.2.0", | ||
"@vuedx/compiler-tsx": "0.2.0", | ||
"@vuedx/analyze": "0.2.1", | ||
"@vuedx/compiler-tsx": "0.2.1", | ||
"vscode-languageserver-textdocument": "^1.0.1", | ||
@@ -23,0 +23,0 @@ "vscode-uri": "^2.1.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
+ Added@vuedx/analyze@0.2.1(transitive)
+ Added@vuedx/compiler-tsx@0.2.1(transitive)
+ Added@vuedx/template-ast-types@0.2.1(transitive)
- Removed@vuedx/analyze@0.2.0(transitive)
- Removed@vuedx/compiler-tsx@0.2.0(transitive)
- Removed@vuedx/template-ast-types@0.2.0(transitive)
Updated@vuedx/analyze@0.2.1
Updated@vuedx/compiler-tsx@0.2.1