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