stop start point going negative
parent
27e9f91864
commit
3562672a75
|
@ -3745,6 +3745,9 @@ function Ace2Inner(){
|
|||
if(rep.selEnd[0] < 0){
|
||||
rep.selEnd[0] = 0;
|
||||
}
|
||||
if(rep.selStart[0] < 0){
|
||||
rep.selStart[0] = 0;
|
||||
}
|
||||
if(rep.selEnd[0] >= linesCount){
|
||||
rep.selEnd[0] = linesCount-1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue