nomenclature of space corection
This commit is contained in:
parent
e5a06889b6
commit
d19586c4d8
@ -695,13 +695,13 @@ void BufferText::SetInsertPosition(int32_t newPos, bool insertChar)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( false == haveSelectionActive
|
if( false == haveSelectionActive
|
||||||
&& true == ewol::IsSetShift() )
|
&& true == ewol::IsSetShift() )
|
||||||
{
|
{
|
||||||
// new selection
|
// new selection
|
||||||
m_EdnBuf.Select(SELECTION_PRIMARY, rememberCursorPos, m_cursorPos);
|
m_EdnBuf.Select(SELECTION_PRIMARY, rememberCursorPos, m_cursorPos);
|
||||||
} else if( true == ewol::IsSetShift()
|
} else if( true == ewol::IsSetShift()
|
||||||
&& true == haveSelectionActive)
|
&& true == haveSelectionActive)
|
||||||
{
|
{
|
||||||
// update selection
|
// update selection
|
||||||
if (rememberCursorPos == SelectionStart) {
|
if (rememberCursorPos == SelectionStart) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user