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
Document.start and Document.end were introduced in #4267
Document.start maps to (0, 0), but Document.end is 1-indexed, with its line number computed from Document.line_count. This is confusing, and breaks with the standard from other functions that return or accept a Location.
Document.start
andDocument.end
were introduced in #4267Document.start
maps to(0, 0)
, butDocument.end
is 1-indexed, with its line number computed fromDocument.line_count
. This is confusing, and breaks with the standard from other functions that return or accept aLocation
.For example, this is the current behavior:
Expected:
Textual Diagnostics
Versions
Python
Operating System
Terminal
Rich Console options
The text was updated successfully, but these errors were encountered: