Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: CodeEditApp/CodeEditTextView
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.11.3
Choose a base ref
...
head repository: CodeEditApp/CodeEditTextView
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.11.4
Choose a head ref
  • 2 commits
  • 8 files changed
  • 1 contributor

Commits on Jun 25, 2025

  1. Add Text Attachments Delegate (#110)

    ### Description
    
    Adds an API for receiving events from the text attachments manager.
    
    ### 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
    
    N/A
    thecoolwinter authored Jun 25, 2025
    Configuration menu
    Copy the full SHA
    c1fed34 View commit details
    Browse the repository at this point in the history
  2. Add Text Attachment Actions (#111)

    ### Description
    
    Adds actions to text attachments. Actions are performed in either of the following:
    - A selection's range exactly matches that of the attachment, and the enter key is pressed.
      - For multiple cursors, if any selections match, the action is taken on all matching selections and other behaviors are ignored.
    - An attachment is double-clicked.
    
    Attachments can return an action enum to indicate what the textview should do when the action is invoked. This allows for attachments to let the textview handle some common cases like discarding the attachment or replacing it with text, and allows attachments to perform their own logic at the same time.
    
    ### Related Issues
    
    * CodeEditApp/CodeEditSourceEditor#43
    
    ### 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
    
    Example in CodeEdit's folding attachments.
    
    https://github.com/user-attachments/assets/1bd670b4-08ed-463e-8f06-8b2fff7e0cbb
    thecoolwinter authored Jun 25, 2025
    Configuration menu
    Copy the full SHA
    8f02a6b View commit details
    Browse the repository at this point in the history
Loading