From 51a56796fde6be147c0a51ea74a0507655628992 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sun, 2 Nov 2014 02:23:51 +0100 Subject: [PATCH] reactivated DDoc hints --- src/ce_main.pas | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ce_main.pas b/src/ce_main.pas index c603922a..e77cf465 100644 --- a/src/ce_main.pas +++ b/src/ce_main.pas @@ -862,12 +862,12 @@ procedure TCEMainForm.ApplicationProperties1ShowHint(var HintStr: string; var CanShow: Boolean; var HintInfo: THintInfo); begin CanShow := true; - {if EditWidget.currentEditor <> nil then - if EditWidget.currentEditor.Focused then + if fDoc <> nil then + if fDoc.Focused then begin - HintStr := EditWidget.getEditorHint; + HintStr := fEditWidg.getEditorHint; CanShow := HintStr <> ''; - end;} + end; end; {$ENDREGION}