Repository navigation
[6035] 渐进排版同步刷新左下角页码并统一全量排版完成与目录跳转气泡提示 - #4793
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
x / y:edit_interface_rep::apply_changes()中命中THE_PROGRESSIVE | THE_TREE时,结合可见文档守护(should_update_menu(MENU_MAIN, get_name()) && N(buffer_to_windows(get_name())) > 0)与页码变化去重(缓存last_footer_page/last_footer_page_count),调用set_middle_footer()实时更新左下角总页数,同时避免后台标签页串页码及普通编辑的无谓重绘。was_typeset_in_progress从真切换为假时,向该文档当前所在的可见窗口发送show_readonly_tip("Full document typesetting complete"),并在zh_CN.scm补充对应中文翻译「全文排版已完成」。editor_rep/edit_typeset_rep新增show_footer_tip(string msg)并经glue_editor.lua导出为 Scheme 过程show-footer-tip。TeXmacs/progs/text/text-outline.scm中点击目录但后台排版尚未完成时的set-message提示改为show-footer-tip气泡提示,保留原有文案。测试验证
gf fmt --changed-since=main通过xmake b progressive_typeset_test && xmake r progressive_typeset_test(7 passed, 0 failed)xmake b unified_readonly_test && xmake r unified_readonly_test(3 passed, 0 failed)xmake b stem构建通过