mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 13:20:58 +00:00
* some more relicts of the unfinished favorite handling for math completion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23142 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
67a9667232
commit
426c4bf356
@ -801,12 +801,6 @@ bool MathMacro::insertCompletion(Cursor & cur, docstring const & s,
|
|||||||
|
|
||||||
// finish macro
|
// finish macro
|
||||||
if (finished) {
|
if (finished) {
|
||||||
#if 0
|
|
||||||
// FIXME: this creates duplicates in the completion popup
|
|
||||||
// which looks ugly. Moreover the changes the list lengths
|
|
||||||
// which seems to confuse the popup as well.
|
|
||||||
MathCompletionList::addToFavorites(inset->name());
|
|
||||||
#endif
|
|
||||||
cur.bv().cursor().pop();
|
cur.bv().cursor().pop();
|
||||||
++cur.bv().cursor().pos();
|
++cur.bv().cursor().pos();
|
||||||
cur.updateFlags(Update::Force | Update::SinglePar);
|
cur.updateFlags(Update::Force | Update::SinglePar);
|
||||||
|
Loading…
Reference in New Issue
Block a user