diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-02-22 21:54:25 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-02-22 21:54:25 +0000 |
| commit | a386315bde576cc77c22ca7677de51f86f97755c (patch) | |
| tree | b6c3c3cf3c76fcf6b593cb2a255b8cc0ebdb0544 /src/buffer.hh | |
| parent | 030450838a532ad052b54449222f08f80ca78604 (diff) | |
Buffer: optimize line updating when applying a modification
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index 7b010c9b..483485fd 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -177,6 +177,7 @@ private: void compute_lines(); BufferPos line_at(const BufferIterator& iterator) const; BufferSize line_length(BufferPos line) const; + void update_lines(const Modification& modification); BufferString m_content; |
