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

Function autoIndentToString

src/tools/ecode/appconfig.cpp:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static std::string
56autoIndentToString( 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
64static PanelPosition panelPositionFromString( const std::string& str ) {
65 if ( String::toLower( str ) == "right" )

Callers 2

saveMethod · 0.85
saveProjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected