MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / horizontalLineButtonPressed

Method horizontalLineButtonPressed

gui/nbrowserwindow.cpp:1155–1160  ·  view source on GitHub ↗

The horizontal line button was pressed

Source from the content-addressed store, hash-verified

1153
1154// The horizontal line button was pressed
1155void NBrowserWindow::horizontalLineButtonPressed() {
1156 this->editor->page()->mainFrame()->evaluateJavaScript(
1157 "document.execCommand('insertHorizontalRule', false, '');");
1158 editor->setFocus();
1159 microFocusChanged();
1160}
1161
1162
1163

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected