dont assume formatting is on the start of any line
This commit is contained in:
parent
95db100f12
commit
30f577e8f4
|
@ -2399,6 +2399,9 @@ function Ace2Inner(){
|
|||
if(rep.selStart[1] == rep.selEnd[1] && rep.selStart[1] == rep.lines.atIndex(n).text.length){
|
||||
return false; // If we're at the end of a line we treat it as having no formatting
|
||||
}
|
||||
if(rep.selStart[1] == 1 && rep.selEnd[1] == 1){
|
||||
return false; // If we're at the start of a line we treat it as having no formatting
|
||||
}
|
||||
if (n == selStartLine)
|
||||
{
|
||||
selectionStartInLine = rep.selStart[1];
|
||||
|
|
Loading…
Reference in New Issue