diff options
author | nyamatongwe <unknown> | 2005-12-11 23:43:04 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-12-11 23:43:04 +0000 |
commit | 5029fa012a2c5bbbc78f200f149403b92cb42d31 (patch) | |
tree | 9b6fe767b3ac0c8fa0f6fbba1f1ccada6263f3b1 /src/Document.h | |
parent | 3d793b83d9a16101b342bb6ab1f9344be7094dd5 (diff) | |
download | scintilla-mirror-5029fa012a2c5bbbc78f200f149403b92cb42d31.tar.gz |
Patch from Armel Asselin in RFE 1377661 to store positions in undo stack
in terms of document (cell) position rather than byte position.
Will help allow expansion to more than 2 bytes per cell.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index 3c0273d0f..6ff858b92 100644 --- a/src/Document.h +++ b/src/Document.h @@ -278,7 +278,7 @@ public: DocModification(int modificationType_, const Action &act, int linesAdded_=0) : modificationType(modificationType_), - position(act.position / 2), + position(act.position), length(act.lenData), linesAdded(linesAdded_), text(act.data), |