missing changelog and small fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4728 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-07-20 17:50:23 +00:00
parent 73ed77bf66
commit b14cdca9e6
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-07-20 John Levon <moz@compsoc.man.ac.uk>
* ControlCommandBuffer.C: don't add "" to history
2002-07-20 John Levon <moz@compsoc.man.ac.uk> 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
* ControlRef.C: fix dispatch call nicely * ControlRef.C: fix dispatch call nicely

View File

@ -108,6 +108,9 @@ vector<string> const ControlCommandBuffer::completions(string const & prefix, st
void ControlCommandBuffer::dispatch(string const & str) void ControlCommandBuffer::dispatch(string const & str)
{ {
if (str.empty())
return;
history_.push_back(str); history_.push_back(str);
history_pos_ = history_.end(); history_pos_ = history_.end();
lyxfunc_.dispatch(str, true); lyxfunc_.dispatch(str, true);

View File

@ -1,3 +1,8 @@
2002-07-20 John Levon <moz@compsoc.man.ac.uk>
* XMiniBuffer.h:
* XMiniBuffer.C: cleanup, make start/end history work as before
2002-07-20 John Levon <moz@compsoc.man.ac.uk> 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
* FormMathsDelim.C: * FormMathsDelim.C: