From b14cdca9e675b471b2a7a5ef9790d09f8e973cd6 Mon Sep 17 00:00:00 2001 From: John Levon Date: Sat, 20 Jul 2002 17:50:23 +0000 Subject: [PATCH] missing changelog and small fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4728 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ChangeLog | 4 ++++ src/frontends/controllers/ControlCommandBuffer.C | 3 +++ src/frontends/xforms/ChangeLog | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index 2531e10007..c68e8d5490 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,3 +1,7 @@ +2002-07-20 John Levon + + * ControlCommandBuffer.C: don't add "" to history + 2002-07-20 John Levon * ControlRef.C: fix dispatch call nicely diff --git a/src/frontends/controllers/ControlCommandBuffer.C b/src/frontends/controllers/ControlCommandBuffer.C index 7ed0871eb3..302c2721c3 100644 --- a/src/frontends/controllers/ControlCommandBuffer.C +++ b/src/frontends/controllers/ControlCommandBuffer.C @@ -108,6 +108,9 @@ vector const ControlCommandBuffer::completions(string const & prefix, st void ControlCommandBuffer::dispatch(string const & str) { + if (str.empty()) + return; + history_.push_back(str); history_pos_ = history_.end(); lyxfunc_.dispatch(str, true); diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 2c93c21f51..9c53ee219d 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,8 @@ +2002-07-20 John Levon + + * XMiniBuffer.h: + * XMiniBuffer.C: cleanup, make start/end history work as before + 2002-07-20 John Levon * FormMathsDelim.C: