When text is replaced the bounds of the string have to be complely re-analyzed
Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
9c207e2f2a
commit
c0379543e6
Binary file not shown.
@ -94,6 +94,8 @@ public class String{
|
||||
*/
|
||||
public String replace(int start,int end,java.lang.String str) {
|
||||
this.sb.replace(start,end,str);
|
||||
bounds = new Point(0,1);
|
||||
updateBounds(str);
|
||||
return this;
|
||||
}
|
||||
public int length() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user