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

After opening the file, for some reason, the mark "changes" is set #22

Closed
mrkingmidas opened this issue Apr 7, 2023 · 6 comments
Closed

Comments

@mrkingmidas
Copy link

Hello!

After opening the file, for some reason, the mark "changes" is set

Versions:
CudaText 1.190.0.0, win64-x86_64-win32, fpc 3.2.3
Plugin: 2023.04.05

@Alexey-T
Copy link
Contributor

Alexey-T commented Apr 7, 2023

I don’t understand it. Can you be more detailed? What is mark-changes?

@mrkingmidas
Copy link
Author

Steps:

  1. In CT no files
  2. Open MD file with "local" images
  3. Images show, but in tab shows "changed" mark

Demo

@jackusay
Copy link
Owner

jackusay commented Apr 7, 2023

I see. editor thinks cuda_markdown_image change content...

@veksha
Copy link

veksha commented Apr 7, 2023

maybe this line:

ed_self.set_prop(PROP_MODIFIED, '1')

@mrkingmidas
Copy link
Author

mrkingmidas commented Apr 7, 2023

maybe this line:

ed_self.set_prop(PROP_MODIFIED, '1')

Yes, after commenting this line bug gone, thank you!

@Alexey-T
Copy link
Contributor

Alexey-T commented Apr 7, 2023

I made the fix, and another micro fix. @jackusay I will give the PR

jackusay added a commit that referenced this issue Apr 7, 2023
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

No branches or pull requests

4 participants