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

Method stringToEolMode

src/ScintillaNext.cpp:154–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154int ScintillaNext::stringToEolMode(QString eolMode)
155{
156 if (eolMode == QStringLiteral("crlf"))
157 return SC_EOL_CRLF;
158 else if (eolMode == QStringLiteral("cr"))
159 return SC_EOL_CR;
160 else if (eolMode == QStringLiteral("lf"))
161 return SC_EOL_LF;
162 else
163 return -1;
164}
165
166int ScintillaNext::allocateIndicator(const QString &name)
167{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected