- Change the type to Integer to refcount it when its frozen
multiple times.
- Update the documentation: the cursor can move but we are not
emitting cursor movements notifications.
- Remove LSP pref, disabling it is only slowing the process
- Merge the concept of Avoid_Move_Cursor and Freeze_Cursor.
- Compute minimal edits only if for the TextEdits affecting a
cursor
- Freeze the cursor when applying TextEdits
- Fix condition in completion window where we are deleting the
window and then trying to access it.
- Fix wrong preference name in test (it was the same by default
for C++)
Closes eng/ide/gnatstudio#582
The ALS can send a mix of markup and escape text, we should not
escape it a second time. At this point assume the providers are
sending proper text and don't escape it.
Add an escape at the python level for jedi
For eng/ide/gnatstudio#393
This was useful before but now that accepting completion
proposals can execute different commands (i.e: auto-import
of missing with-clause), we can't merge the completion proposals
with the same text anymore.
For eng/ide/ada_language_server#1159
Opening a buffer without a view leaves the responsibility to the
caller to close the buffer manually.
=> this is unsafe: either we are closing a buffer shared
somewhere else or forgetting to close it (= leaking it)
The solution is to always use Buffer_Holder.
from comments or strings.
We still keep the capability to change that in the future, in
case we want to provide some specifc completion providers for
strings and/or comments.
Closes eng/ide/ada_language_server#1111
The current completion was only inserting at the prefix or
replacing the prefix.
However, the LSP request can ask the client to delete more than
the prefix when using CompletionItem's textEdit.
Adapt test
Change-Id: If57ab2a09a3e569d1bf51fcfb4f6912afce11dfe
Add free for Callback_Data/Subprogram_Type/List_Instances
Fix ownership transfer issue for Monitored_Command.
Fix over-referenced on widget by python (Editor_Overlay)
Add a test.
Change-Id: I5f6447e37928535f2b7085bcd1b102ee28e31c33