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

修改历史标记选项无效? #934

Open
code399 opened this issue Dec 9, 2024 · 2 comments
Open

修改历史标记选项无效? #934

code399 opened this issue Dec 9, 2024 · 2 comments

Comments

@code399
Copy link

code399 commented Dec 9, 2024

点击修改历史标记选项怎么不起作用?
2024-12-09_123647

@zufuliu
Copy link
Owner

zufuliu commented Dec 9, 2024

It only works when no changes were made. e.g. after file loading:

notepad4/src/Notepad4.cpp

Lines 3921 to 3927 in 5bbf685

case IDM_VIEW_CHANGE_HISTORY_MARKER:
if (iChangeHistoryMarker != SC_CHANGE_HISTORY_DISABLED || !SciCall_CanUndo()) {
iChangeHistoryMarker = (iChangeHistoryMarker == SC_CHANGE_HISTORY_DISABLED)? (SC_CHANGE_HISTORY_ENABLED | SC_CHANGE_HISTORY_MARKERS) : SC_CHANGE_HISTORY_DISABLED;
UpdateBookmarkMarginWidth();
SciCall_SetChangeHistory(iChangeHistoryMarker);
}
break;

@code399
Copy link
Author

code399 commented Dec 9, 2024

谢谢!

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