mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
John's index inset patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2656 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f5de290c50
commit
c9ca51378a
@ -2982,11 +2982,7 @@ bool BufferView::Pimpl::Dispatch(kb_action action, string const & argument)
|
||||
InsetCommandParams p("index");
|
||||
if (argument.empty()) {
|
||||
string const idxstring(bv_->getLyXText()->getStringToIndex(bv_));
|
||||
if (!idxstring.empty()) {
|
||||
p.setContents(idxstring);
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
p.setContents(argument);
|
||||
}
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-09-02 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* BufferView_pimpl.C: allow to create index inset even if
|
||||
string is empty
|
||||
|
||||
2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* iterators.h: Added a std:: declaration to the return type of
|
||||
|
Loading…
Reference in New Issue
Block a user