MCPcopy Create free account
hub / github.com/TeXworks/texworks / selectRange

Method selectRange

src/TeXDocumentWindow.cpp:1912–1918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1910}
1911
1912void TeXDocumentWindow::selectRange(int start, int length)
1913{
1914 QTextCursor c = textCursor();
1915 c.setPosition(start);
1916 c.setPosition(start + length, QTextCursor::KeepAnchor);
1917 editor()->setTextCursor(c);
1918}
1919
1920void TeXDocumentWindow::insertText(const QString& text)
1921{

Callers 4

makeBold.pyFile · 0.80
addOrRemoveFunction · 0.80
addOrRemoveFunction · 0.80
titlecase.jsFile · 0.80

Calls 2

setPositionMethod · 0.80
setTextCursorMethod · 0.80

Tested by

no test coverage detected