mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Revert "Fix completion in math when inline completion was not yet shown"
A better fix is in the works.
This reverts commit b4211ef206
.
This commit is contained in:
parent
7bcf201f40
commit
fb1c4494ea
@ -710,7 +710,7 @@ void GuiCompleter::tab()
|
||||
docstring longestCompletion = longestUniqueCompletion();
|
||||
prefix = cur.inset().completionPrefix(cur);
|
||||
docstring postfix = longestCompletion.substr(min(longestCompletion.size(), prefix.size()));
|
||||
cur.inset().insertCompletion(cur, postfix, uniqueCompletionAvailable());
|
||||
cur.inset().insertCompletion(cur, postfix, false);
|
||||
old_cursor_ = bv.cursor();
|
||||
updatePrefix(cur);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user