Skip to content

Commit

Permalink
fix few bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mkslanc committed Jan 31, 2023
1 parent 25336b8 commit bb9e1dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion packages/ace-linters/components/description-tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ export class DescriptionTooltip extends Tooltip {
let session = this.$activeEditor.session;

this.provider.doHover(session, screenPos, (hover) => {
if (!hover)
return;
let description = this.provider.getTooltipText(hover);
if (!description || !description.text) {
this.hide();
Expand Down Expand Up @@ -189,4 +191,4 @@ export class DescriptionTooltip extends Tooltip {
event.removeListener(this.getElement(), "mouseout", this.onMouseOut);
};

}
}
4 changes: 2 additions & 2 deletions packages/demo/webworker-json-rpc/demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ languageProvider.setGlobalOptions("typescript", {
});

languageProvider.setGlobalOptions("json", {
jsonSchemas: [
schemas: [
{
uri: "common-form.schema.json",
schema: jsonSchema2
Expand All @@ -41,7 +41,7 @@ for (let mode of modes) {
i++;
}
languageProvider.setGlobalOptions("json", {
jsonSchemas: [{
schemas: [{
uri: "colors.schema.json",
schema: jsonSchema
},]
Expand Down

0 comments on commit bb9e1dd

Please sign in to comment.