MCPcopy Create free account
hub / github.com/SpartanJ/eepp / goToLine

Method goToLine

src/eepp/ui/uicodeeditor.cpp:2177–2181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2175}
2176
2177void UICodeEditor::goToLine( const TextPosition& position, bool centered, bool forceExactPosition,
2178 bool scrollX ) {
2179 mDoc->setSelection( position );
2180 scrollTo( mDoc->getSelection().start(), centered, forceExactPosition, scrollX );
2181}
2182
2183bool UICodeEditor::getAutoCloseBrackets() const {
2184 return mDoc->getAutoCloseBrackets();

Calls 3

setSelectionMethod · 0.45
startMethod · 0.45
getSelectionMethod · 0.45

Tested by

no test coverage detected