getNode is not needed by the helper module

This commit is contained in:
Ramya Achutha Rao
2017-06-21 14:47:42 -07:00
parent b7afeff71d
commit 1a11b9dd4f
12 changed files with 55 additions and 57 deletions

View File

@@ -4,10 +4,8 @@
*--------------------------------------------------------------------------------------------*/
import * as vscode from 'vscode';
import { getDeepestNode, findNextWord, findPrevWord } from './util';
import { getDeepestNode, findNextWord, findPrevWord, getNode } from './util';
import Node from '@emmetio/node';
import { getNode } from './vscode-emmet-helper/abbreviationUtil';
export function nextItemStylesheet(startOffset: vscode.Position, endOffset: vscode.Position, editor: vscode.TextEditor, rootNode: Node): vscode.Selection {
let currentNode = getNode(rootNode, endOffset, true);