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

添加修改内容是否保存的颜色标记(Change History Marker) #752

Closed
Leroy-X opened this issue Jan 22, 2024 · 1 comment
Closed
Labels
✅enhancement 🌐i18n Localization/Internationalization ui
Milestone

Comments

@Leroy-X
Copy link

Leroy-X commented Jan 22, 2024

在其他编辑器中,会用颜色标记出来修改但未保存或是修改后已保存的部分,标记颜色可以在主题中设置。
希望Notepad2添加类似的功能。
非常感谢!
Notepad++截图如下
image

@zufuliu zufuliu changed the title 添加修改内容是否保存的颜色标记 添加修改内容是否保存的颜色标记(Change History Marker) Jan 27, 2024
@zufuliu zufuliu added 🌐i18n Localization/Internationalization ui labels Sep 27, 2024
@zufuliu zufuliu added this to the v24.11 milestone Sep 27, 2024
@zufuliu zufuliu pinned this issue Sep 27, 2024
@zufuliu
Copy link
Owner

zufuliu commented Oct 17, 2024

Implemented by f69ab8b. The marker is show on bookmark margin,
global style "Change History Marker" set the color for saved (fore) and unsaved (back) changes.

image
image

This feature is disabled by default, quote from https://www.scintilla.org/ScintillaDoc.html#ChangeHistory:

This feature uses a moderate amount of memory proportional to the amount of modifications made. On huge documents, this could be significant so could be disabled when it would cause excessive memory use.

CC @xelsios, @VoilierBleu, @Matteo-Nigro, @maboroshin, @VenusGirl for translation updates (issue #886 has other changes).

@zufuliu zufuliu unpinned this issue Oct 26, 2024
@zufuliu zufuliu closed this as completed Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅enhancement 🌐i18n Localization/Internationalization ui
Projects
None yet
Development

No branches or pull requests

2 participants