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

Method disableEditorFeatures

src/eepp/ui/uicodeeditor.cpp:737–750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735}
736
737void UICodeEditor::disableEditorFeatures( bool useDefaultStyle ) {
738 mShowLineNumber = false;
739 mShowWhitespaces = false;
740 mShowFoldingRegion = false;
741 mHighlightCurrentLine = false;
742 mHighlightMatchingBracket = false;
743 mHighlightSelectionMatch = false;
744 mEnableColorPickerOnSelection = false;
745 mEnableInlineColorBoxes = false;
746 mMinimapEnabled = false;
747 mFindReplaceEnabled = false;
748 mLineBreakingColumn = 0;
749 mUseDefaultStyle = useDefaultStyle;
750}
751
752Float UICodeEditor::getViewportWidth( bool forceVScroll, bool includeMinimap ) const {
753 Float vScrollWidth =

Callers 1

loadFromXmlNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected