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
... but there is no way to get the number of line by offset.
I'd like the TextDocument class to expose an API method similar to org.eclipse.lemminx.commons.ILineTracker.getLineNumberOfOffset(int) to make it possible to be used by clients.
The text was updated successfully, but these errors were encountered:
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 18, 2023
The
TextDocument
class provides a getter for obtaining a line delimiter for a line number:... but there is no way to get the number of line by offset.
I'd like the
TextDocument
class to expose an API method similar toorg.eclipse.lemminx.commons.ILineTracker.getLineNumberOfOffset(int)
to make it possible to be used by clients.The text was updated successfully, but these errors were encountered: