From f0c53e7b25f12be66881acc110d815ec491f1533 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 8 May 2021 15:20:59 +1000 Subject: Feature [feature-requests:1373]. Make idle actions smoother by measuring per-byte and allowing just one line to be processed in a time slice. Very long lines will not distort estimation or block interaction as much. --- src/Document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.h') diff --git a/src/Document.h b/src/Document.h index 690871ba8..3e57d1449 100644 --- a/src/Document.h +++ b/src/Document.h @@ -282,7 +282,7 @@ public: bool useTabs; bool tabIndents; bool backspaceUnindents; - ActionDuration durationStyleOneLine; + ActionDuration durationStyleOneByte; std::unique_ptr decorations; -- cgit v1.2.3