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

Strange rendering artifact #439

Closed
dracan opened this issue Jul 12, 2017 · 14 comments
Closed

Strange rendering artifact #439

dracan opened this issue Jul 12, 2017 · 14 comments

Comments

@dracan
Copy link

dracan commented Jul 12, 2017

On my work machine a particular file is rendering a strange vertical line to the left of the editor window ...

image

I've seen this happen to two different files. It doesn't seem to be the file itself, as if I copy the file to another folder it fixes it. So something must be remembering the absolute path to this file. I've even tried deleting all the folders in the C:\Users\dan.clarke\AppData\Roaming\Caret that have the name cache, to see if something was being cached there, but it doesn't fix the issue. I can't find any way of removing these rendering artifacts.

@astoilkov
Copy link
Contributor

This is supposed to be a Git indication showing that the file has changed. Is the folder where file is a Git project?

@dracan
Copy link
Author

dracan commented Jul 12, 2017

Oh, I see! I didn't realise Caret did that. Yes, it is in Git - however, there are no pending changes against that file. It still shows that line for the whole file.

@astoilkov
Copy link
Contributor

What is true for the file:

  • it is pushed to the public repository and there are no local changes to the file
  • there is a local commit for the file but it is not pushed to the public repository
  • the file is completely new and it is work in progress

@dracan
Copy link
Author

dracan commented Jul 12, 2017

"it is pushed to the public repository and there are no local changes to the file"

@astoilkov
Copy link
Contributor

Do you experience the same problem for other files in the same repository?

@astoilkov astoilkov added the bug label Jul 12, 2017
@astoilkov
Copy link
Contributor

Is this a public repo that we can clone so we can test this?

@dracan
Copy link
Author

dracan commented Jul 12, 2017

Yep, just tried another file, and it does the same. Unfortunately, it's a not a public repo. I can try it this evening on a public repo though. I'll just create a temporary github repo to test.

@dracan
Copy link
Author

dracan commented Jul 12, 2017

Sounds very much line a line-ending issue to me. I'm on Windows - so perhaps a CR/LF thing?

@dracan
Copy link
Author

dracan commented Jul 12, 2017

My Git config is set to have this core.autocrlf=true.

@astoilkov
Copy link
Contributor

Yes. This sounds possible. We will test different configurations tomorrow. Thanks a lot for the detailed and helpful information.

@dracan
Copy link
Author

dracan commented Jul 12, 2017

No problem! Thanks a lot for such an awesome app! Also, for the Git integration! That's very cool - I didn't know Caret did that :)

@astoilkov
Copy link
Contributor

We replicated the problem and fixed it. We will release a new version of Caret tomorrow.

@dracan
Copy link
Author

dracan commented Jul 13, 2017

Great work! :) Thank you for such a very fast response and resolution! :)

@astoilkov
Copy link
Contributor

This is now fixed in the latest 3.2.2 Caret release.

Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants