mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 04:15:11 +00:00
Replace InvalidTextLocationError with SolidLSPException subclass
This commit is contained in:
1 parent
3a67ea2086
commit
0f5111c17a
1 file changed
+1
-5
@@ -21,16 +21,12 @@ from urllib.parse import urlparse
|
||||
import charset_normalizer
|
||||
import requests
|
||||
|
||||
from solidlsp.ls_exceptions import SolidLSPException
|
||||
from solidlsp.ls_exceptions import InvalidTextLocationError, SolidLSPException
|
||||
from solidlsp.ls_types import UnifiedSymbolInformation
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class InvalidTextLocationError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class TextStepper:
|
||||
r"""
|
||||
A utility class for stepping through a text string line by line, keeping track of the current line and column numbers.
|
||||
|
||||
Reference in new issue
Block a user