| 1115 | } |
| 1116 | |
| 1117 | int Document::GetLineIndentPosition(int line) const { |
| 1118 | if (line < 0) |
| 1119 | return 0; |
| 1120 | int pos = LineStart(line); |
| 1121 | int length = Length(); |
| 1122 | while ((pos < length) && IsSpaceOrTab(cb.CharAt(pos))) { |
| 1123 | pos++; |
| 1124 | } |
| 1125 | return pos; |
| 1126 | } |
| 1127 | |
| 1128 | int Document::GetColumn(int pos) { |
| 1129 | int column = 0; |
no test coverage detected