aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-10-03 12:11:57 +0000
committernyamatongwe <unknown>2000-10-03 12:11:57 +0000
commita3ad62da479a859b0df819ba74aa8b2d5ed71a60 (patch)
tree65f0b4d35e821158aaa45a350ea20733006eaac5 /src/Editor.cxx
parenta67e810e17bcb5db90f2f0f53b90533c23cee8ed (diff)
downloadscintilla-mirror-a3ad62da479a859b0df819ba74aa8b2d5ed71a60.tar.gz
Error status attribute created.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx8
1 files changed, 8 insertions, 0 deletions
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;