MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / eolModeToString

Method eolModeToString

src/ScintillaNext.cpp:142–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142QString ScintillaNext::eolModeToString(int eolMode)
143{
144 if (eolMode == SC_EOL_CRLF)
145 return QStringLiteral("crlf");
146 else if (eolMode == SC_EOL_CR)
147 return QStringLiteral("cr");
148 else if (eolMode == SC_EOL_LF)
149 return QStringLiteral("lf");
150 else
151 return QString(); // unknown
152}
153
154int ScintillaNext::stringToEolMode(QString eolMode)
155{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected