| 53 | } |
| 54 | |
| 55 | static std::string |
| 56 | autoIndentToString( const EE::UI::Doc::TextDocument::AutoIndentConfig& autoIndent ) { |
| 57 | if ( autoIndent == EE::UI::Doc::TextDocument::AutoIndentConfig::None ) |
| 58 | return "none"; |
| 59 | if ( autoIndent == EE::UI::Doc::TextDocument::AutoIndentConfig::Preserve ) |
| 60 | return "preserve"; |
| 61 | return "smart"; |
| 62 | } |
| 63 | |
| 64 | static PanelPosition panelPositionFromString( const std::string& str ) { |
| 65 | if ( String::toLower( str ) == "right" ) |
no outgoing calls
no test coverage detected