From cc88e2af38e51d286b712a3ebef4dd46222be1dd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 25 Jul 2007 09:58:17 +0000 Subject: Changed ContractionState data structure to be more efficient by not only modifying data near an insertion or deletion when there is good locality of modification. --- src/RunStyles.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/RunStyles.h') diff --git a/src/RunStyles.h b/src/RunStyles.h index f3f9fe314..bbf20b262 100644 --- a/src/RunStyles.h +++ b/src/RunStyles.h @@ -30,6 +30,7 @@ public: int EndRun(int position); // Returns true if some values may have changed bool FillRange(int &position, int value, int &fillLength); + void SetValueAt(int position, int value); void InsertSpace(int position, int insertLength); void DeleteAll(); void DeleteRange(int position, int deleteLength); -- cgit v1.2.3