aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-04-21 01:59:43 +0000
committernyamatongwe <devnull@localhost>2000-04-21 01:59:43 +0000
commit6956977bdf58be27805d82c1aa33fc9d4c384241 (patch)
tree473a1082dbd214e4a3d4bb7d0b13d2aa111ee029 /src/Editor.cxx
parentcf9e0c55121fc58093e00e8aaae211ee52ecc147 (diff)
downloadscintilla-mirror-6956977bdf58be27805d82c1aa33fc9d4c384241.tar.gz
Changed font sizing to use more Windows compatible calculation
Some unfinished work on fixing folding bugs.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index c00f08311..440cdeff1 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -1605,8 +1605,8 @@ void Editor::NotifyModified(Document*, DocModification mh, void *) {
// lineOfPos should be calculated in context of state before modification, shouldn't it
int lineOfPos = pdoc->LineFromPosition(mh.position);
if (mh.linesAdded > 0) {
- NotifyNeedShown(mh.position, mh.length);
cs.InsertLines(lineOfPos, mh.linesAdded);
+ NotifyNeedShown(mh.position, mh.length);
} else {
cs.DeleteLines(lineOfPos, -mh.linesAdded);
}