Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: wrong type of paste event and missing types for themelist extension #5725

Merged
merged 5 commits into from
Jan 28, 2025

Conversation

mkslanc
Copy link
Contributor

@mkslanc mkslanc commented Jan 27, 2025

Issue #, if available: #5723

Description of changes:

  • provide type for paste event
  • fix bug in moveToMouse
  • provide types for themelist

Could be further improved by listing theme names in types, but it would involve either manual writing those theme names, or rewriting themeData to have nice object structure with theme name as a key.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Pull Request Checklist:

Copy link

One of the public type files has been updated, plase make sure there are no backwards incompatible changes done in the PR.

ace-internal.d.ts Outdated Show resolved Hide resolved
demo/test_package/index.ts Outdated Show resolved Hide resolved
@@ -890,7 +890,7 @@ declare module "ace-code/src/virtual_renderer" {
* @param {EditSession} session The session to associate with
**/
setSession(session: EditSession): void;
session: import("ace-code/src/edit_session").EditSession;
session: import("ace-code").Ace.EditSession;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this change generated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems, I've got outdated version of typescript

Co-authored-by: Harutyun Amirjanyan <[email protected]>
Copy link

One of the public type files has been updated, plase make sure there are no backwards incompatible changes done in the PR.

Copy link

One of the public type files has been updated, plase make sure there are no backwards incompatible changes done in the PR.

@mkslanc mkslanc marked this pull request as draft January 27, 2025 12:06
Copy link

One of the public type files has been updated, plase make sure there are no backwards incompatible changes done in the PR.

@mkslanc mkslanc marked this pull request as ready for review January 27, 2025 12:34
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.05%. Comparing base (5acea6d) to head (5450d86).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5725   +/-   ##
=======================================
  Coverage   87.05%   87.05%           
=======================================
  Files         598      598           
  Lines       43703    43703           
  Branches     7163     7163           
=======================================
  Hits        38047    38047           
  Misses       5656     5656           
Flag Coverage Δ
unittests 87.05% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

One of the public type files has been updated, plase make sure there are no backwards incompatible changes done in the PR.

@mkslanc mkslanc changed the title Fix: wrong type of paste event Fix: wrong type of paste event and missing types for themelist extension Jan 28, 2025
@nightwing nightwing merged commit a4b9d2d into ajaxorg:master Jan 28, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants