From a3ad62da479a859b0df819ba74aa8b2d5ed71a60 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 3 Oct 2000 12:11:57 +0000 Subject: Error status attribute created. --- src/Editor.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index 5bfe8fb25..360e991e9 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -44,6 +44,7 @@ Editor::Editor() { hasFocus = false; hideSelection = false; inOverstrike = false; + errorStatus = 0; bufferedDraw = true; @@ -4284,6 +4285,13 @@ long Editor::WndProc(unsigned int iMessage, unsigned long wParam, long lParam) { case SCI_GETFOCUS: return hasFocus; + case SCI_SETSTATUS: + errorStatus = wParam; + break; + + case SCI_GETSTATUS: + return errorStatus; + #ifdef MACRO_SUPPORT case SCI_STARTRECORD: recordingMacro = 1; -- cgit v1.2.3