aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-04-13 07:12:14 +0000
committernyamatongwe <devnull@localhost>2005-04-13 07:12:14 +0000
commit868c40faa64c389421116394e30b307e436fe2a6 (patch)
tree6525819644f50d5b05475d52d0b314812b711212 /src/Document.cxx
parentcd25259c1b61257fbda27971fd269cbca8a5ead0 (diff)
downloadscintilla-mirror-868c40faa64c389421116394e30b307e436fe2a6.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);
}