diff options
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index 4ec9be190..dfeb1a62d 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -810,6 +810,9 @@ int Editor::PositionFromLocationClose(Point pt) {  					return pdoc->MovePositionOutsideChar(i + posLineStart, 1);  				}  			} +			if (pt.x < (ll->positions[lineEnd] - subLineStart)) { +				return pdoc->MovePositionOutsideChar(lineEnd + posLineStart, 1); +			}  		}  	} | 
