| 433 | } |
| 434 | |
| 435 | void LineAnnotation::ClearAll() { |
| 436 | for (int line = 0; line < annotations.Length(); line++) { |
| 437 | delete []annotations[line]; |
| 438 | annotations[line] = 0; |
| 439 | } |
| 440 | annotations.DeleteAll(); |
| 441 | } |
| 442 | |
| 443 | void LineAnnotation::SetStyle(int line, int style) { |
| 444 | annotations.EnsureLength(line+1); |