You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
includes everything from the start of line - 1 to the start of line thereby including the newline at the end of the line.
The effect of this bug is that messages that use Position.longString end up with an undesirable blank line between the contents line and the up arrow line since longString also puts a newline between the two:
LINE CONTENTS
^
Presumably the fix is to use index(line) - 1 in the above code instead of index(line) so that the newline is omitted.
The text was updated successfully, but these errors were encountered:
According to the documentation, the
lineContents
method of aPosition
should not include a newline, but this code:includes everything from the start of
line - 1
to the start ofline
thereby including the newline at the end of the line.The effect of this bug is that messages that use
Position.longString
end up with an undesirable blank line between the contents line and the up arrow line sincelongString
also puts a newline between the two:Presumably the fix is to use
index(line) - 1
in the above code instead ofindex(line)
so that the newline is omitted.The text was updated successfully, but these errors were encountered: