| 735 | } |
| 736 | |
| 737 | void 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 | |
| 752 | Float UICodeEditor::getViewportWidth( bool forceVScroll, bool includeMinimap ) const { |
| 753 | Float vScrollWidth = |