| 162 | } |
| 163 | |
| 164 | bool Document::SetLineEndTypesAllowed(int lineEndBitSet_) { |
| 165 | if (lineEndBitSet != lineEndBitSet_) { |
| 166 | lineEndBitSet = lineEndBitSet_; |
| 167 | int lineEndBitSetActive = lineEndBitSet & LineEndTypesSupported(); |
| 168 | if (lineEndBitSetActive != cb.GetLineEndTypes()) { |
| 169 | ModifiedAt(0); |
| 170 | cb.SetLineEndTypes(lineEndBitSetActive); |
| 171 | return true; |
| 172 | } else { |
| 173 | return false; |
| 174 | } |
| 175 | } else { |
| 176 | return false; |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | void Document::InsertLine(int line) { |
| 181 | for (int j=0; j<ldSize; j++) { |
no test coverage detected