| 183 | } |
| 184 | |
| 185 | QByteArray ScintillaNext::eolString() const |
| 186 | { |
| 187 | const int eol = eOLMode(); |
| 188 | |
| 189 | if (eol == SC_EOL_LF) return QByteArrayLiteral("\n"); |
| 190 | else if (eol == SC_EOL_CRLF) return QByteArrayLiteral("\r\n"); |
| 191 | else return QByteArrayLiteral("\r"); |
| 192 | } |
| 193 | |
| 194 | bool ScintillaNext::lineIsEmpty(int line) |
| 195 | { |
no outgoing calls
no test coverage detected