resolve issue where first char showed all formatting
This commit is contained in:
parent
20b27c602c
commit
8a547b24ba
1 changed files with 2 additions and 2 deletions
|
@ -2399,8 +2399,8 @@ function Ace2Inner(){
|
||||||
if(rep.selStart[1] == rep.selEnd[1] && rep.selStart[1] == rep.lines.atIndex(n).text.length){
|
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
|
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){
|
if(rep.selStart[1] == 0 && rep.selEnd[1] == 0){
|
||||||
return false; // If we're at the start of a line we treat it as having no formatting
|
return false; // If we're at the start of a line attributes get confused..
|
||||||
}
|
}
|
||||||
if (n == selStartLine)
|
if (n == selStartLine)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue