-
-
Notifications
You must be signed in to change notification settings - Fork 113
Show more information in Vala symbol tooltip #1565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Getting crash when starting up with certain documents/conditions although opening same documents from sidebar does not cause problems - diagnosing ... |
bf859d7 to
2764aec
Compare
|
Looks like the crashing was due to accessing the source view from a separate parsing thread without locking it. This is now fixed. The parsing thread is now made to yield to the main thread after each child construction and this allows other documents to load and the UI to be used even though there is a document (e.g. a vapi) that takes a long time to finish parsing. Because of this the time allowed to construct the symbol pane has been increased. |
Fixes #1410
It proved simpler and better to copy the definition from the document rather than trying to reconstruct from the parsed symbols. The tooltip includes text to the end of the first line pointed to by the symbol.source_reference as this may contain extra useful information such as parameters and/or comments.