diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-04-03 19:22:12 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-04-04 14:04:37 +0200 |
| commit | 1fd99e7e88c48d503a07b8a53580622467ae407f (patch) | |
| tree | 878121c0581af6ea4879c01f22a559480ab0bbfc /src/editor.hh | |
| parent | 4fbe2dc6bc2522e79558fcb1af19d0cad947ea83 (diff) | |
do not check buffer invariant in do_{erase,insert} as this cause O(n²) behaviour
Diffstat (limited to 'src/editor.hh')
| -rw-r--r-- | src/editor.hh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/editor.hh b/src/editor.hh index 1a99ceed..402f2c9c 100644 --- a/src/editor.hh +++ b/src/editor.hh @@ -87,7 +87,6 @@ public: size_t cursor_pos = String::npos); bool is_editing() const { return m_edition_level!= 0; } - private: friend struct scoped_edition; void begin_edition(); |
