diff options
author | nyamatongwe <unknown> | 2003-07-26 08:08:05 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-07-26 08:08:05 +0000 |
commit | 2bc715163ff4721661152f2dd24252db10b2d3f7 (patch) | |
tree | a97b67609c1821391df2466b48262e04f8589d44 /src | |
parent | 6516d95b1c0525422acf45663c8468ea128a1211 (diff) | |
download | scintilla-mirror-2bc715163ff4721661152f2dd24252db10b2d3f7.tar.gz |
Patch from Yair Siegel to include the string being inserted in a
SC_MOD_BEFOREINSERT notification.
Diffstat (limited to 'src')
-rw-r--r-- | src/Document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 98fc6b330..51d52b388 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -394,7 +394,7 @@ bool Document::InsertStyledString(int position, char *s, int insertLength) { DocModification( SC_MOD_BEFOREINSERT | SC_PERFORMED_USER, position / 2, insertLength / 2, - 0, 0)); + 0, s)); int prevLinesTotal = LinesTotal(); bool startSavePoint = cb.IsSavePoint(); const char *text = cb.InsertString(position, s, insertLength); |