diff options
| -rw-r--r-- | doc/ScintillaHistory.html | 5 | ||||
| -rw-r--r-- | src/Editor.cxx | 2 | 
2 files changed, 7 insertions, 0 deletions
| diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index fad1797ce..cbd7f568f 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -428,6 +428,7 @@        </tr><tr>  	<td>Brian Griffin</td>  	<td>Özgür Emir</td> +	<td>Neomi</td>      </tr>      </table>      <p> @@ -463,6 +464,10 @@  	<a href="http://sourceforge.net/p/scintilla/bugs/1508/">Bug #1508</a>.  	</li>  	<li> +	Fixed bug with horizontal caret position when margin changed. +	<a href="http://sourceforge.net/p/scintilla/bugs/1512/">Bug #1512</a>. +	</li> +	<li>  	Copy and paste of rectangular selections compatible with Borland Delphi IDE on Windows.  	<a href="http://sourceforge.net/p/scintilla/feature-requests/1002/">Feature #1002.</a>  	</li> diff --git a/src/Editor.cxx b/src/Editor.cxx index 3aa949f77..bf4144d36 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7681,6 +7681,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {  		return vs.rightMarginWidth;  	case SCI_SETMARGINLEFT: +		lastXChosen += lParam - vs.leftMarginWidth;  		vs.leftMarginWidth = lParam;  		InvalidateStyleRedraw();  		break; @@ -8429,6 +8430,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {  		if (ValidMargin(wParam)) {  			// Short-circuit if the width is unchanged, to avoid unnecessary redraw.  			if (vs.ms[wParam].width != lParam) { +				lastXChosen += lParam - vs.ms[wParam].width;  				vs.ms[wParam].width = lParam;  				InvalidateStyleRedraw();  			} | 
