| 140 | } |
| 141 | |
| 142 | QString 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 | |
| 154 | int ScintillaNext::stringToEolMode(QString eolMode) |
| 155 | { |
nothing calls this directly
no outgoing calls
no test coverage detected