mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
fix hinting on non-ascii characters
This commit is contained in:
1 parent
03992b9198
commit
8642920d8c
7 files changed
+144
-75
No files matched your search
@@ -1084,6 +1084,16 @@ define(function (require, exports, module) {
|
||||
hintsPresentOrdered(hintObj, ["shift", "shiftKey"]);
|
||||
});
|
||||
|
||||
it("should handle valid non-ascii characters in a property name", function () {
|
||||
var start = { line: 153, ch: 0 },
|
||||
end = { line: 153, ch: 13 };
|
||||
|
||||
testDoc.replaceRange("hope.frenchçP", start, start);
|
||||
testEditor.setCursorPos(end);
|
||||
var hintObj = expectHints(JSCodeHints.jsHintProvider);
|
||||
// check we have a properties that start with "shift"
|
||||
hintsPresentOrdered(hintObj, ["frenchçProp"]);
|
||||
});
|
||||
});
|
||||
|
||||
describe("JavaScript Code Hinting in a HTML file", function () {
|
||||
|
||||
Reference in new issue
Block a user