| 1289 | } |
| 1290 | |
| 1291 | int Document::ParaDown(int pos) { |
| 1292 | int line = LineFromPosition(pos); |
| 1293 | while (line < LinesTotal() && !IsWhiteLine(line)) { // skip non-empty lines |
| 1294 | line++; |
| 1295 | } |
| 1296 | while (line < LinesTotal() && IsWhiteLine(line)) { // skip empty lines |
| 1297 | line++; |
| 1298 | } |
| 1299 | if (line < LinesTotal()) |
| 1300 | return LineStart(line); |
| 1301 | else // end of a document |
| 1302 | return LineEnd(line-1); |
| 1303 | } |
| 1304 | |
| 1305 | CharClassify::cc Document::WordCharClass(unsigned char ch) { |
| 1306 | if ((SC_CP_UTF8 == dbcsCodePage) && (!UTF8IsAscii(ch))) |
no test coverage detected