Skip to content

Add Hover Interaction to Folding Ribbon #325

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

Conversation

thecoolwinter
Copy link
Collaborator

Description

Adds the hover interaction to the code folding ribbon.

Details:

  • Animates in when entering the fold region.
  • Does not animate when moving between folds after animation.
  • Hovered lines are emphasized and not transparent.

Related Issues

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

Screen.Recording.2025-05-29.at.11.27.10.AM.mov

thecoolwinter and others added 14 commits May 8, 2025 09:29
### Description

This PR adds the following functionality to the source editor find
panel:
- Replace: Enables replacing matched text with the specified
replacement.
- Toggle Match Navigation Wrap-Around: Allows cycling through matches
from the beginning when reaching the end.
- Toggle Match Case: Adds an option to filter matches by case
sensitivity.
- Made find panel responsive at small sizes using `ViewThatFits`.

### Related Issues

* CodeEditApp#295
* CodeEditApp/CodeEditTextView#1

### Checklist

<!--- Add things that are not yet implemented above -->

- [x] I read and understood the [contributing
guide](https://github.com/CodeEditApp/CodeEdit/blob/main/CONTRIBUTING.md)
as well as the [code of
conduct](https://github.com/CodeEditApp/CodeEdit/blob/main/CODE_OF_CONDUCT.md)
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code

### Screenshots


https://github.com/user-attachments/assets/ec23ffe7-6d24-48b7-889a-11a92ec6c147


https://github.com/user-attachments/assets/cfca6d8e-7b97-4258-ae2e-ee82bbf6b9af

---------

Co-authored-by: Khan Winter <[email protected]>
### Description

Updates the `MinimapLineRenderer` to have the correct protocol
parameters to correctly set it's customized layout information.

### Related Issues

N/A

### Checklist

- [x] I read and understood the [contributing
guide](https://github.com/CodeEditApp/CodeEdit/blob/main/CONTRIBUTING.md)
as well as the [code of
conduct](https://github.com/CodeEditApp/CodeEdit/blob/main/CODE_OF_CONDUCT.md)
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code

### Screenshots
@thecoolwinter
Copy link
Collaborator Author

Not sure why CI isn't running on this...

@thecoolwinter thecoolwinter merged commit ba30234 into CodeEditApp:feat/code-folding Jun 3, 2025
@thecoolwinter thecoolwinter deleted the code-folding/hover-state branch June 3, 2025 19:06
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