MCPcopy Create free account
hub / github.com/cxasm/notepad-- / syncCurDocTailfToMenu

Method syncCurDocTailfToMenu

src/cceditor/ccnotepad.cpp:7742–7745  ·  view source on GitHub ↗

同步当前的tailf状态

Source from the content-addressed store, hash-verified

7740
7741//同步当前的tailf状态
7742void CCNotePad::syncCurDocTailfToMenu(QWidget* curEdit)
7743{
7744 m_tailf->setChecked(1 == getFileTailProperty(curEdit));
7745}
7746
7747//同步当前文档的编码状态到菜单的Encode中。即每次切换当前编辑后,菜单上面的编码状态要同步
7748void CCNotePad::syncCurDocLineEndStatusToMenu(QWidget* curEdit)

Callers

nothing calls this directly

Calls 1

getFileTailPropertyFunction · 0.85

Tested by

no test coverage detected