From 868c40faa64c389421116394e30b307e436fe2a6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 13 Apr 2005 07:12:14 +0000 Subject: Patch from Robert to include line number in some marker notifications. --- src/Document.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Document.cxx') diff --git a/src/Document.cxx b/src/Document.cxx index 16b434083..0def97a8f 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -103,14 +103,14 @@ void Document::SetSavePoint() { int Document::AddMark(int line, int markerNum) { int prev = cb.AddMark(line, markerNum); - DocModification mh(SC_MOD_CHANGEMARKER, LineStart(line), 0, 0, 0); + DocModification mh(SC_MOD_CHANGEMARKER, LineStart(line), 0, 0, 0, line); NotifyModified(mh); return prev; } void Document::DeleteMark(int line, int markerNum) { cb.DeleteMark(line, markerNum); - DocModification mh(SC_MOD_CHANGEMARKER, LineStart(line), 0, 0, 0); + DocModification mh(SC_MOD_CHANGEMARKER, LineStart(line), 0, 0, 0, line); NotifyModified(mh); } -- cgit v1.2.3