diff options
| author | nyamatongwe <devnull@localhost> | 2004-07-17 01:38:21 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2004-07-17 01:38:21 +0000 | 
| commit | 9e70fe41ad43fda3c1fa1d554334938f9bc1b47f (patch) | |
| tree | bbe3e22a5a0383e99720082c753d058d9dc94c4b | |
| parent | 693dd3bb9c50af6d8b9086bdc66b96749ea6d8d8 (diff) | |
| download | scintilla-mirror-9e70fe41ad43fda3c1fa1d554334938f9bc1b47f.tar.gz | |
Patch from Brian Carnes to avoid scroll upwards when line added in wrap mode on continuation line at top of window. This made it appear as if nothing happened.
| -rw-r--r-- | src/Editor.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index 64f3da3a1..81cf3bd47 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -672,7 +672,7 @@ int Editor::LineFromLocation(Point pt) {  void Editor::SetTopLine(int topLineNew) {  	topLine = topLineNew; -	posTopLine = pdoc->LineStart(topLine); +	posTopLine = pdoc->LineStart(cs.DocFromDisplay(topLine));  }  static inline bool IsEOLChar(char ch) { | 
