From 8780a67905c9516b91ee014749ea791427075490 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 19 Apr 2007 13:21:08 +0000 Subject: Optimized indicator changing with separate SC_MOD_CHANGEINDICATOR notification flag. --- src/RunStyles.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/RunStyles.h') diff --git a/src/RunStyles.h b/src/RunStyles.h index 8d5022cb4..009bb6739 100644 --- a/src/RunStyles.h +++ b/src/RunStyles.h @@ -12,7 +12,7 @@ public: Partitioning *starts; SplitVector *styles; int RunFromPosition(int position); - void SplitRun(int position); + int SplitRun(int position); void RemoveRun(int run); void RemoveRunIfEmpty(int run); void RemoveRunIfSameAsPrevious(int run); @@ -25,7 +25,7 @@ public: int StartRun(int position); int EndRun(int position); // Returns true if some values may have changed - bool FillRange(int position, int value, int fillLength); + bool FillRange(int &position, int value, int &fillLength); void InsertSpace(int position, int insertLength); void DeleteAll(); void DeleteRange(int position, int deleteLength); -- cgit v1.2.3