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

Function characterAlignmentFromString

src/tools/ecode/appconfig.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39CharacterAlignment characterAlignmentFromString( const std::string_view& str ) {
40 if ( str == "center" )
41 return CharacterAlignment::Center;
42 if ( str == "right" )
43 return CharacterAlignment::Right;
44 return CharacterAlignment::Left;
45}
46
47static EE::UI::Doc::TextDocument::AutoIndentConfig autoIndentFromString( const std::string& str ) {
48 if ( str == "none" )

Callers 1

loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected