diff options
author | nyamatongwe <unknown> | 2010-09-06 16:10:35 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-09-06 16:10:35 +1000 |
commit | fe9860e959fc660a5dd5a2cee2057fca5d81a379 (patch) | |
tree | d363f8cf5f723fd96d6b83f842d13933bc81d9b0 | |
parent | c2c0e752e0ceffad06d51a472838d18eedc6ed4f (diff) | |
download | scintilla-mirror-fe9860e959fc660a5dd5a2cee2057fca5d81a379.tar.gz |
More accurate range for LineState modification notification so doesn't hit the start of document.
-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 bf49cef2f..f9627f066 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1544,7 +1544,7 @@ void Document::LexerChanged() { int SCI_METHOD Document::SetLineState(int line, int state) { int statePrevious = static_cast<LineState *>(perLineData[ldState])->SetLineState(line, state); if (state != statePrevious) { - DocModification mh(SC_MOD_CHANGELINESTATE, 0, 0, 0, 0, line); + DocModification mh(SC_MOD_CHANGELINESTATE, LineStart(line), 0, 0, 0, line); NotifyModified(mh); } return statePrevious; |