Skip to content

🐞 Margin, colours and saving issue on json files #1065

Closed

Description

@JGeek00

Description

Seems that the editor is not working fine with json files (see attached video).

I have that json file that I created on VSCode some time ago and when editing it I saw some issues.

  • When I edit it with CodeEdit, the first new line that I add with CodeEdit has a bigger margin to the previous line.
  • The new lines are not being coloured.
  • When I try to save the changes, the file is not being saved.
json-error.mp4

To Reproduce

See the attached video.

Expected behavior

  • The margin should always be the same.
  • The new code that I add should be coloured.
  • When I click on Save, the changes should be saved.

Version information

CodeEdit: 0.0.2 (26)
macOS: 13.2.1
Xcode: don't know (is it relevant?)

Additional context

No response

Activity

  1. moved this from 🆕 New to 📋 Todo in CodeEdit Projecton Feb 23, 2023
  2. thecoolwinter commented on Apr 8, 2023

    @thecoolwinter
    Collaborator

    This looks like it's related to a combination of CodeEditApp/CodeEditTextView#142 and CodeEditApp/CodeEditTextView#160. 142 should have fixed the editing highlight issues, and 160 the saving one. Could you test this again on the latest alpha and see if it's still an issue after those changes?

  3. JGeek00 commented on Apr 8, 2023

    @JGeek00
    Author

    Yes, that seems to be fixed. However, I found this new issue https://github.com/CodeEditApp/CodeEditTextView/issues/175.

  4. thecoolwinter commented on Apr 9, 2023

    @thecoolwinter
    Collaborator

    Okay, I'm going to close this then in favor of CodeEditApp/CodeEditTextView#175

  5. moved this from 📋 Todo to 🏁 Complete in CodeEdit Projecton Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions