aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-04-13 07:12:14 +0000
committernyamatongwe <unknown>2005-04-13 07:12:14 +0000
commit3111626f7d86333b3d925f04cc096ebecdebd91a (patch)
tree6525819644f50d5b05475d52d0b314812b711212 /src/Document.cxx
parent18059b2eeba34311c7c04c9227c0dcaee790e875 (diff)
downloadscintilla-mirror-3111626f7d86333b3d925f04cc096ebecdebd91a.tar.gz
Patch from Robert to include line number in some marker notifications.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r--src/Document.cxx4
1 files changed, 2 insertions, 2 deletions
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);
}