From c1de71363ccb2cfc2bce62c7493da9a3a3daa822 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Mon, 19 Jan 2015 21:11:25 +0300 Subject: [PATCH] syntax highlight support, continue --- src/dlangui/widgets/editors.d | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dlangui/widgets/editors.d b/src/dlangui/widgets/editors.d index 164632f9..e0e079c4 100644 --- a/src/dlangui/widgets/editors.d +++ b/src/dlangui/widgets/editors.d @@ -475,6 +475,7 @@ class EditableContent { @property EditableContent syntaxHighlighter(SyntaxHighlighter syntaxHighlighter) { _syntaxHighlighter = syntaxHighlighter; updateTokenProps(0, _lines.length); + return this; } /// returns true if content has syntax highlight handler set