Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/extensions/default/HTMLCodeHints/unittests.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@ define(function (require, exports, module) {
hintList = expectHints(HTMLCodeHints.tagHintProvider);
verifyTagHints(hintList);
});

//Test for issue #3339
it("should show HTML hints after HTML Entity on same line", function () {
testDocument.replaceRange("&nbsp; Test < ", { line: 8, ch: 0 });
testEditor.setCursorPos({ line: 8, ch: 13 }); // cursor between < and some trailing whitespaces
var hintList = expectHints(HTMLCodeHints.tagHintProvider);
verifyTagHints(hintList);
});
});

describe("Attribute name hint provider", function () {
Expand Down