mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
fix indenting while cursor is in the line
This commit is contained in:
parent
9c14dcd498
commit
7d184a681a
1 changed files with 2 additions and 1 deletions
|
@ -3538,7 +3538,8 @@ function OUTER(gscope)
|
||||||
|
|
||||||
function doIndentOutdent(isOut)
|
function doIndentOutdent(isOut)
|
||||||
{
|
{
|
||||||
if (!(rep.selStart && rep.selEnd))
|
if (!(rep.selStart && rep.selEnd) ||
|
||||||
|
((rep.selStart[0] == rep.selEnd[0]) && (rep.selStart[1] == rep.selEnd[1]) && rep.selEnd[1] > 1))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue