diff options
Diffstat (limited to 'src/Selection.cxx')
| -rw-r--r-- | src/Selection.cxx | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/src/Selection.cxx b/src/Selection.cxx index ae4d8bfc7..4c2ab0508 100644 --- a/src/Selection.cxx +++ b/src/Selection.cxx @@ -230,6 +230,14 @@ SelectionRange &Selection::RangeMain() {  	return ranges[mainRange];  } +SelectionPosition Selection::Start() const { +	if (IsRectangular()) { +		return rangeRectangular.Start(); +	} else { +		return ranges[mainRange].Start(); +	} +} +  bool Selection::MoveExtends() const {  	return moveExtends;  } | 
