remove boarder checks
This commit is contained in:
parent
fe7152c0d9
commit
ff1d474ca2
@ -89,9 +89,9 @@ class barrierManager():
|
|||||||
offset = xCursor - 1
|
offset = xCursor - 1
|
||||||
start = line[:offset].rfind(b)
|
start = line[:offset].rfind(b)
|
||||||
if start != -1:
|
if start != -1:
|
||||||
if not self.hasBorder(text, xCursor, yCursor, leftBarriers, start):
|
#if not self.hasBorder(text, xCursor, yCursor, leftBarriers, start):
|
||||||
start = -1
|
# start = -1
|
||||||
else:
|
#else:
|
||||||
start += 1
|
start += 1
|
||||||
break
|
break
|
||||||
if start == -1:
|
if start == -1:
|
||||||
@ -101,8 +101,8 @@ class barrierManager():
|
|||||||
end = line[start:].find(b)
|
end = line[start:].find(b)
|
||||||
if end != -1:
|
if end != -1:
|
||||||
end = start + end
|
end = start + end
|
||||||
if not self.hasBorder(text, xCursor, yCursor,rightBarriers, end):
|
#if not self.hasBorder(text, xCursor, yCursor,rightBarriers, end):
|
||||||
end = -1
|
# end = -1
|
||||||
break
|
break
|
||||||
if end == -1:
|
if end == -1:
|
||||||
return False, line
|
return False, line
|
||||||
|
Loading…
Reference in New Issue
Block a user