diff --git a/CodeQuickTester.ahk b/CodeQuickTester.ahk index 28cc3db..fc24a79 100644 --- a/CodeQuickTester.ahk +++ b/CodeQuickTester.ahk @@ -35,6 +35,7 @@ Settings := ; Highlighter (colors are 0xRRGGBB) "UseHighlighter": True, + "HighlightDelay": 200, ; Delay until the user is finished typing "Colors": [ 0x7F9F7F, ; Comments 0x7F9F7F, ; Multiline comments diff --git a/lib/CQT.ahk b/lib/CQT.ahk index 23fbb4c..bffab75 100644 --- a/lib/CQT.ahk +++ b/lib/CQT.ahk @@ -238,7 +238,7 @@ class CodeQuickTester if (GuiEvent == "Normal" && EventInfo == 0x300) ; EN_CHANGE { ; Delay until the user is finished changing the document - SetTimer(this.Bound.Highlight, -200) + SetTimer(this.Bound.Highlight, -Abs(this.Settings.HighlightDelay)) } }